From 2f7e35a16e9896216d3fc4fce5d93d4272dc6219 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Sat, 25 Jan 2025 18:37:09 +0100 Subject: [PATCH] Fix: don't check if someone is logged in for a taghint --- src/UI/Popup/TagHint.svelte | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/UI/Popup/TagHint.svelte b/src/UI/Popup/TagHint.svelte index e7eb543dc1..583fb76d94 100644 --- a/src/UI/Popup/TagHint.svelte +++ b/src/UI/Popup/TagHint.svelte @@ -11,19 +11,15 @@ * Depending on the options, it'll link through to the wiki or might be completely hidden */ export let tags: TagsFilter - export let state: SpecialVisualizationState - export let currentProperties: Record = {} /** * If given, this function will be called to embed the given tags hint into this translation */ export let embedIn: ((string: string) => Translation) | undefined = undefined - const userDetails = state?.osmConnection?.userDetails let tagsExplanation = "" $: tagsExplanation = tags?.asHumanString(true, false, currentProperties) -{#if !userDetails}
{#if tags === undefined} @@ -33,4 +29,3 @@ {/if}
-{/if}