From d3dc81d1c2ba9776265d3c728694d699879ac35c Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Tue, 21 May 2024 01:40:58 +0200 Subject: [PATCH] Fix alltags panel --- src/UI/Popup/AllTagsPanel.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/UI/Popup/AllTagsPanel.svelte b/src/UI/Popup/AllTagsPanel.svelte index c718f5e64..98d97199b 100644 --- a/src/UI/Popup/AllTagsPanel.svelte +++ b/src/UI/Popup/AllTagsPanel.svelte @@ -13,7 +13,7 @@ */ let calculatedTags: string[] = [] for (const calculated of layer?.calculatedTags ?? []) { - if (calculated) { + if (!calculated) { continue } const name = calculated[0] @@ -69,7 +69,7 @@ {:else if $tags[key] === ""} Empty string {:else if $tags[key] !== "string"} - {$tags[key]} + {JSON.stringify($tags[key])} {typeof $tags[key]} {:else} {$tags[key]}