Removed delete attachment behaviour from SignatureCell as the API behaviour has been removed.

This commit is contained in:
Dean 2024-04-18 11:43:10 +01:00
parent ce176496d2
commit 605345bfd1
1 changed files with 0 additions and 6 deletions

View File

@ -44,12 +44,6 @@
const deleteSignature = async () => { const deleteSignature = async () => {
onChange([]) 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 => { const saveSignature = async sigCanvas => {