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(