diff --git a/src/UI/Popup/TagHint.svelte b/src/UI/Popup/TagHint.svelte index 2bbeecd06..abfeed0b7 100644 --- a/src/UI/Popup/TagHint.svelte +++ b/src/UI/Popup/TagHint.svelte @@ -10,19 +10,19 @@ * Depending on the options, it'll link through to the wiki or might be completely hidden */ export let tags: TagsFilter[] - export let currentProperties: Record = {} + export let currentProperties: Record = undefined {#if tags?.length > 0}
{#each tags as tag}
- {#if tag["value"] === ""} + {#if tag["value"] === "" && currentProperties?.[tag["key"]]} {tag["key"]} {:else} - + {/if}
{/each}