Skip to content

Commit

Permalink
DEV: Update to support core outletArgs change (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtaylorhq authored Dec 8, 2023
1 parent 66ee681 commit 916b1ff
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion javascripts/discourse/components/custom-header-links.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
{{#if this.shouldShow}}
{{!
@outletArgs.attrs.topic is the legacy version. Can be removed once core v3.2.0.beta4 is released
and this Theme's compatibility file is updated
}}
<ul
class="custom-header-links
{{if @outletArgs.attrs.topic 'custom-header-links--hide-links'}}"
{{if
(or @outletArgs.topic @outletArgs.attrs.topic)
'custom-header-links--hide-links'
}}"
>
{{#each this.links as |link|}}
<li
Expand Down

0 comments on commit 916b1ff

Please sign in to comment.