From 605345bfd10cbb2a309d6eb47246e4024470c2ae Mon Sep 17 00:00:00 2001 From: Dean Date: Thu, 18 Apr 2024 11:43:10 +0100 Subject: [PATCH] Removed delete attachment behaviour from SignatureCell as the API behaviour has been removed. --- .../src/components/grid/cells/SignatureCell.svelte | 6 ------ 1 file changed, 6 deletions(-) diff --git a/packages/frontend-core/src/components/grid/cells/SignatureCell.svelte b/packages/frontend-core/src/components/grid/cells/SignatureCell.svelte index 325d9cc631..9ef1765f2b 100644 --- a/packages/frontend-core/src/components/grid/cells/SignatureCell.svelte +++ b/packages/frontend-core/src/components/grid/cells/SignatureCell.svelte @@ -44,12 +44,6 @@ const deleteSignature = async () => { onChange([]) - const deleteRequest = value.map(item => item.key) - try { - await API.deleteBuilderAttachments(deleteRequest) - } catch (error) { - $notifications.error(error.message || "Failed to delete signature") - } } const saveSignature = async sigCanvas => {