DEV: Update to support core outletArgs change (#44)

This commit is contained in:
David Taylor 2023-12-08 17:34:37 +00:00 committed by GitHub
parent 66ee681eff
commit 916b1ffeff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 1 deletions

View File

@ -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