diff --git a/src/UI/Popup/AllTagsPanel.svelte b/src/UI/Popup/AllTagsPanel.svelte index e8cf74526..990005952 100644 --- a/src/UI/Popup/AllTagsPanel.svelte +++ b/src/UI/Popup/AllTagsPanel.svelte @@ -12,7 +12,11 @@ * The names (keys) of the calculated tags. Each will normally start with an underscore (but in rare cases not) */ let calculatedTags: string[] = [] - for (const [name, _, __] of layer.calculatedTags ?? []) { + for (const calculated of layer.calculatedTags ?? []) { + if(calculated){ + continue + } + const name = calculated[0] calculatedTags.push(name) } let knownValues: Store = tags.map(tags => Object.keys(tags))