Skip to content

Commit 82d5925

Browse files
authored
DEV: Don't use deprecated .topic argument on header outlets (#68)
1 parent 36e116f commit 82d5925

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

javascripts/discourse/components/custom-header-links.hbs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,7 @@
11
{{#if this.shouldShow}}
2-
{{!
3-
@outletArgs.attrs.topic is the legacy version. Can be removed once core v3.2.0.beta4 is released
4-
and this Theme's compatibility file is updated
5-
}}
62
<ul
73
class="custom-header-links
8-
{{if
9-
(or @outletArgs.topic @outletArgs.attrs.topic)
10-
'custom-header-links--hide-links'
11-
}}"
4+
{{if @outletArgs.topicInfoVisible 'custom-header-links--hide-links'}}"
125
>
136
{{#each this.links as |link|}}
147
<li

0 commit comments

Comments
 (0)