Skip to content

Commit

Permalink
feat(bal-navigation-menu-list-item): added the target attr for grey m…
Browse files Browse the repository at this point in the history
…enu list headline
  • Loading branch information
madaluca committed Oct 7, 2022
1 parent 773362e commit ddc8339
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,12 @@ export class NavigationMenu {
{this.elements
.filter(subLevel => subLevel.color === 'grey')
.map(block => (
<bal-navigation-menu-list headline={block.label} href={block.link} color={block.color}>
<bal-navigation-menu-list
headline={block.label}
href={block.link}
color={block.color}
target={block.target}
>
<div slot="links">
{block.subLevels?.map(item => (
<bal-navigation-menu-list-item href={item.link} target={item.target}>
Expand Down

0 comments on commit ddc8339

Please sign in to comment.