From 894d857cdc35864bbd778925ef84a042d6e04aaa Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Wed, 21 Feb 2024 17:44:25 +0100 Subject: [PATCH] Fix: open settings again --- src/UI/BigComponents/SelectedElementView.svelte | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/UI/BigComponents/SelectedElementView.svelte b/src/UI/BigComponents/SelectedElementView.svelte index bdc370199..c9b1afd7b 100644 --- a/src/UI/BigComponents/SelectedElementView.svelte +++ b/src/UI/BigComponents/SelectedElementView.svelte @@ -19,10 +19,7 @@ ) - let stillMatches = tags.map(tags => { - console.log("Tags are now:",tags, layer.source.osmTags?.matchesProperties(tags)) - return !layer.source?.osmTags || layer.source.osmTags?.matchesProperties(tags) - }) + let stillMatches = tags.map(tags => !layer?.source?.osmTags || layer.source.osmTags?.matchesProperties(tags)) let _metatags: Record onDestroy(