forked from MapComplete/MapComplete
Fix: fix studio
This commit is contained in:
parent
a65f365485
commit
db9c5b233f
1 changed files with 4 additions and 3 deletions
|
@ -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 @@
|
|||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
{#if lang === "*"}
|
||||
{#if specs === undefined}
|
||||
<!-- Empty -->
|
||||
{:else if lang === "*"}
|
||||
{#each specs as specpart}
|
||||
{#if typeof specpart === "string"}
|
||||
<span class={clss}>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue