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({