mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Add tag
argument to extra-nav-item outlet (#23815)
This will make it easier for themes/plugins to introduce nav items which work correctly on tag discovery routes
This commit is contained in:
parent
478e738bfd
commit
77e1d69b74
@ -12,6 +12,7 @@
|
||||
@navItems={{this.navItems}}
|
||||
@filterMode={{this.filterMode}}
|
||||
@category={{this.category}}
|
||||
@tag={{this.tag}}
|
||||
/>
|
||||
{{/unless}}
|
||||
|
||||
|
@ -9,5 +9,9 @@
|
||||
<PluginOutlet
|
||||
@name="extra-nav-item"
|
||||
@connectorTagName="li"
|
||||
@outletArgs={{hash category=this.category filterMode=this.filterMode}}
|
||||
@outletArgs={{hash
|
||||
category=this.category
|
||||
tag=this.tag
|
||||
filterMode=this.filterMode
|
||||
}}
|
||||
/>
|
@ -17,7 +17,11 @@
|
||||
<PluginOutlet
|
||||
@name="extra-nav-item"
|
||||
@connectorTagName="li"
|
||||
@outletArgs={{hash category=this.category filterMode=this.filterMode}}
|
||||
@outletArgs={{hash
|
||||
category=this.category
|
||||
tag=this.tag
|
||||
filterMode=this.filterMode
|
||||
}}
|
||||
/>
|
||||
</ul>
|
||||
{{/if}}
|
||||
|
Loading…
Reference in New Issue
Block a user