From dc952cb35084ff7861ba82f757977b5bff9a5b82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guillaume=20G=C3=A9rard?= Date: Tue, 1 Oct 2019 11:02:21 +0200 Subject: [PATCH] Update docs-header template to remove an useless "or" in a condition After reading the code, I detect an useless or in a condition so here is a tiny PR to clean the code :) --- addon/components/docs-header/template.hbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addon/components/docs-header/template.hbs b/addon/components/docs-header/template.hbs index 77f67109b..bf5bfcbca 100644 --- a/addon/components/docs-header/template.hbs +++ b/addon/components/docs-header/template.hbs @@ -26,7 +26,7 @@ {{#docs-header/link on-click=(action (toggle 'isShowingVersionSelector' this))}} - {{#if (or (eq currentVersion.key latestVersionName))}} + {{#if (eq currentVersion.key latestVersionName)}} {{#if currentVersion.tag}} {{currentVersion.tag}} {{else}}