diff --git a/src/UI/Popup/TagRendering/SpecialTranslation.svelte b/src/UI/Popup/TagRendering/SpecialTranslation.svelte index a9d5eff00..7e65bf60f 100644 --- a/src/UI/Popup/TagRendering/SpecialTranslation.svelte +++ b/src/UI/Popup/TagRendering/SpecialTranslation.svelte @@ -38,7 +38,7 @@ let key = "cached_special_spec_" + $language specs = t[key] if (specs === undefined) { - specs = SpecialVisualizations.constructSpecification(txt) + specs = SpecialVisualizations.constructSpecification(txt) ?? [] t[key] = specs } } @@ -69,8 +69,9 @@ } } - -{#if lang === "*"} +{#if specs === undefined} + +{:else if lang === "*"} {#each specs as specpart} {#if typeof specpart === "string"}