From a4002783a531af3dbe989a740a2dcfcd2f24bee5 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Wed, 25 Sep 2024 19:49:45 +1000 Subject: [PATCH] Fix Back Extra field not being added --- ts/routes/image-occlusion/add-or-update-note.svelte.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/routes/image-occlusion/add-or-update-note.svelte.ts b/ts/routes/image-occlusion/add-or-update-note.svelte.ts index e802cff94..8721403f0 100644 --- a/ts/routes/image-occlusion/add-or-update-note.svelte.ts +++ b/ts/routes/image-occlusion/add-or-update-note.svelte.ts @@ -27,7 +27,7 @@ export const addOrUpdateNote = async function( let backExtra = fieldsData[1].textareaValue; header = header ? `
${header}
` : ""; - backExtra = header ? `
${backExtra}
` : ""; + backExtra = backExtra ? `
${backExtra}
` : ""; if (mode.kind == "edit") { const result = await updateImageOcclusionNote({