diff --git a/UI/ThemeViewGUI.svelte b/UI/ThemeViewGUI.svelte
index 026890bb5..5d8d14030 100644
--- a/UI/ThemeViewGUI.svelte
+++ b/UI/ThemeViewGUI.svelte
@@ -124,7 +124,7 @@
state.guistate.menuIsOpened.setData(true)}>
- {#if currentViewLayer?.tagRenderings}
+ {#if currentViewLayer?.tagRenderings && currentViewLayer.defaultIcon()}
{selectedLayer.setData(currentViewLayer); selectedElement.setData(state.currentView.features?.data?.[0])}}>