DEV: Don't use deprecated .topic argument on header outlets (#68)

This commit is contained in:
Sérgio Saquetim 2024-08-20 22:48:29 -03:00 committed by GitHub
parent 36e116fb80
commit 82d5925f31
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 8 deletions

View File

@ -1,14 +1,7 @@
{{#if this.shouldShow}} {{#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 <ul
class="custom-header-links class="custom-header-links
{{if {{if @outletArgs.topicInfoVisible 'custom-header-links--hide-links'}}"
(or @outletArgs.topic @outletArgs.attrs.topic)
'custom-header-links--hide-links'
}}"
> >
{{#each this.links as |link|}} {{#each this.links as |link|}}
<li <li