From fb855b450ebf6f373c981367287f37b0e351d2e5 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Wed, 24 Jan 2024 16:40:55 +0100 Subject: [PATCH] Remove debug output --- src/UI/Popup/TagRendering/TagRenderingQuestion.svelte | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/UI/Popup/TagRendering/TagRenderingQuestion.svelte b/src/UI/Popup/TagRendering/TagRenderingQuestion.svelte index cf4bd3117..fbcc2d3a0 100644 --- a/src/UI/Popup/TagRendering/TagRenderingQuestion.svelte +++ b/src/UI/Popup/TagRendering/TagRenderingQuestion.svelte @@ -153,7 +153,7 @@ } }) $: { - if (allowDeleteOfFreeform && $freeformInput === undefined && $freeformInputUnvalidated === "" && mappings.length === 0) { + if (allowDeleteOfFreeform && $freeformInput === undefined && $freeformInputUnvalidated === "" && mappings?.length === 0) { selectedTags = new Tag(config.freeform.key, "") } else { @@ -172,8 +172,6 @@ } function onSave(e = undefined, deleteFreeform = false) { - console.log("On click", deleteFreeform, ">>>", selectedTags) - if (selectedTags === undefined) { return }