Skip to content

Commit

Permalink
Add selectorText to version selector
Browse files Browse the repository at this point in the history
  • Loading branch information
recrwplay committed Dec 11, 2024
1 parent 8637cbf commit ce00c6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/partials/nav-selectors.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
{{#if (eq this.version @root.page.version)}} selected{{/if}}
{{~#if this.missing}} disabled{{/if}}
>
{{#unless @root.page.attributes.selector-hide-label }}{{#with (or @root.page.attributes.selector-label 'Version') }}{{{this}}} {{/with}}{{/unless}}{{ this.displayVersion }}{{#if (and @root.page.attributes.nav-indicate-latest (eq this.version @root.page.latest.version)) }} (latest){{/if}}
{{#unless @root.page.attributes.selector-hide-label }}{{#with (or @root.page.attributes.selector-label 'Version') }}{{{this}}} {{/with}}{{/unless}}{{ this.displayVersion }}{{#with this.selectorText }} {{{this}}}{{/with}}{{#if (and @root.page.attributes.nav-indicate-latest (eq this.version @root.page.latest.version)) }} (latest){{/if}}
</option>
{{/unless}}
{{/each}}
Expand Down

0 comments on commit ce00c6c

Please sign in to comment.