From 9c686fed89fb3ee8a3de21706aee37fa17ac3205 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Thu, 2 Jan 2025 05:34:38 +0100 Subject: [PATCH] Fix: fix special visualisations --- src/UI/Base/ToSvelte.svelte | 2 +- src/UI/SpecialVisualizations.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/UI/Base/ToSvelte.svelte b/src/UI/Base/ToSvelte.svelte index 2828ef42c..059dd97ea 100644 --- a/src/UI/Base/ToSvelte.svelte +++ b/src/UI/Base/ToSvelte.svelte @@ -43,6 +43,6 @@ {:else} {/if} -{:else if elem !== undefined} +{:else} {/if} diff --git a/src/UI/SpecialVisualizations.ts b/src/UI/SpecialVisualizations.ts index 1e3a37fa9..3a874c6bf 100644 --- a/src/UI/SpecialVisualizations.ts +++ b/src/UI/SpecialVisualizations.ts @@ -1474,8 +1474,8 @@ export default class SpecialVisualizations { state, feature, layer, - clss: classes ?? "", - }) + // clss: classes ?? "", + }) .SetClass(classes) elements.push(subsTr) } return elements