From 6075b016485808352ae84a12d5b872482693411a Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Mon, 29 May 2023 02:11:05 +0200 Subject: [PATCH] Fix: personal theme crashed due to unset defaultIcon --- UI/ThemeViewGUI.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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])}}>