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