Skip to content

Commit 5e86310

Browse files
committed
Show latest or current
1 parent ce00c6c commit 5e86310

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/partials/nav-selectors.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
{{#if (eq this.version @root.page.version)}} selected{{/if}}
2525
{{~#if this.missing}} disabled{{/if}}
2626
>
27-
{{#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}}
27+
{{#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){{else}}{{#with this.selectorText }} {{{this}}}{{/with}}{{/if}}
2828
</option>
2929
{{/unless}}
3030
{{/each}}

0 commit comments

Comments
 (0)