Skip to content

Commit 50718e8

Browse files
GreatWizardRobbieTheWagner
authored andcommitted
Update docs-header template to remove an useless "or" in a condition (#405)
After reading the code, I detect an useless or in a condition so here is a tiny PR to clean the code :)
1 parent 7a9245e commit 50718e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addon/components/docs-header/template.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
{{#docs-header/link on-click=(action (toggle 'isShowingVersionSelector' this))}}
2727
<span data-test-id='current-version' data-version-selector class='docs-flex docs-items-center'>
2828

29-
{{#if (or (eq currentVersion.key latestVersionName))}}
29+
{{#if (eq currentVersion.key latestVersionName)}}
3030
{{#if currentVersion.tag}}
3131
{{currentVersion.tag}}
3232
{{else}}

0 commit comments

Comments
 (0)