Skip to content

Commit

Permalink
DEV: Don't use deprecated .topic argument on header outlets (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
megothss authored Aug 21, 2024
1 parent 36e116f commit 82d5925
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions javascripts/discourse/components/custom-header-links.hbs
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
{{#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
(or @outletArgs.topic @outletArgs.attrs.topic)
'custom-header-links--hide-links'
}}"
{{if @outletArgs.topicInfoVisible 'custom-header-links--hide-links'}}"
>
{{#each this.links as |link|}}
<li
Expand Down

0 comments on commit 82d5925

Please sign in to comment.