Removed delete attachment behaviour from SignatureCell as the API behaviour has been removed.
This commit is contained in:
parent
ce176496d2
commit
605345bfd1
|
@ -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 => {
|
||||
|
|
Loading…
Reference in New Issue