We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f3c0ea3 + 9996526 commit 3f446bdCopy full SHA for 3f446bd
1 file changed
src/store/signatureElements.js
@@ -136,8 +136,11 @@ export const useSignatureElementsStore = function(...args) {
136
this.signs[type] = emptyElement
137
this.success = data.ocs.data.message
138
})
139
- .catch(({ data }) => {
140
- this.error = { message: data.ocs.data.message }
+ .catch(({ response }) => {
+ if (response?.status === 404) {
141
+ this.signs[type] = emptyElement
142
+ }
143
+ this.error = { message: response?.data?.ocs?.data?.message || 'Error deleting signature' }
144
145
},
146
0 commit comments