Fix: fix special visualisations

This commit is contained in:
Pieter Vander Vennet 2025-01-02 05:34:38 +01:00
parent a089a5e1d9
commit 9c686fed89
2 changed files with 3 additions and 3 deletions

View file

@ -43,6 +43,6 @@
{:else} {:else}
<svelte:component this={svelteElem?._svelteComponent} {...svelteElem._props} /> <svelte:component this={svelteElem?._svelteComponent} {...svelteElem._props} />
{/if} {/if}
{:else if elem !== undefined} {:else}
<span bind:this={elem} /> <span bind:this={elem} />
{/if} {/if}

View file

@ -1474,8 +1474,8 @@ export default class SpecialVisualizations {
state, state,
feature, feature,
layer, layer,
clss: classes ?? "", // clss: classes ?? "",
}) }) .SetClass(classes)
elements.push(subsTr) elements.push(subsTr)
} }
return elements return elements