DEV: add class name to nav-bar nav items (#16968)

This commit is contained in:
Kris 2022-06-01 14:18:47 -04:00 committed by GitHub
parent 333c58dd05
commit e579e9e61c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
{{#each navItems as |navItem|}}
{{navigation-item content=navItem filterMode=filterMode category=category}}
{{navigation-item content=navItem filterMode=filterMode category=category class=(concat "nav-item_" navItem.name)}}
{{/each}}
{{custom-html name="extraNavItem" tagName="li"}}
{{plugin-outlet name="extra-nav-item" connectorTagName="li" args=(hash category=category filterMode=filterMode)}}

View File

@ -7,7 +7,7 @@
{{#if expanded}}
<ul class="drop">
{{#each navItems as |navItem|}}
{{navigation-item content=navItem filterMode=filterMode category=category}}
{{navigation-item content=navItem filterMode=filterMode category=category class=(concat "nav-item_" navItem.name)}}
{{/each}}
{{plugin-outlet name="extra-nav-item" connectorTagName="li" args=(hash category=category filterMode=filterMode)}}
</ul>