From 01a9dcbbb89b3382faba95e4ad31d402de1f783b Mon Sep 17 00:00:00 2001 From: Johannes Loher Date: Thu, 13 May 2021 20:44:21 +0200 Subject: [PATCH] is handlebars else if instead of nesting ifs --- src/templates/sheets/item/spell-sheet.hbs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/templates/sheets/item/spell-sheet.hbs b/src/templates/sheets/item/spell-sheet.hbs index 08c72e1..bcbdba9 100644 --- a/src/templates/sheets/item/spell-sheet.hbs +++ b/src/templates/sheets/item/spell-sheet.hbs @@ -15,8 +15,7 @@ {{#each (lookup config.i18n 'temporalUnitsAbbr') as |value key|}} {{/each}} - {{else}} - {{#if (eq unitType 'customTemporal')}} + {{else if (eq unitType 'customTemporal')}} {{#each (lookup config.i18n 'customTemporalUnitsAbbr') as |value key|}} {{/each}} @@ -25,7 +24,6 @@ {{/each}} {{/if}} - {{/if}} {{/select}}