From 93a81b77fa63cfbf35fbac6df6b1d8ec1a1f8dcd Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Wed, 24 Jan 2024 16:35:34 +0100 Subject: [PATCH 1/3] Fix undefined crash --- src/UI/Popup/TagRendering/TagRenderingQuestion.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/UI/Popup/TagRendering/TagRenderingQuestion.svelte b/src/UI/Popup/TagRendering/TagRenderingQuestion.svelte index b67c17b45..f45f6062c 100644 --- a/src/UI/Popup/TagRendering/TagRenderingQuestion.svelte +++ b/src/UI/Popup/TagRendering/TagRenderingQuestion.svelte @@ -396,7 +396,7 @@ - {#if allowDeleteOfFreeform && mappings.length === 0 && $freeformInput === undefined && $freeformInputUnvalidated === ""} + {#if allowDeleteOfFreeform && mappings?.length === 0 && $freeformInput === undefined && $freeformInputUnvalidated === ""}