fix: attachment deletion
continuous-integration/drone/pr Build is passing
Details
continuous-integration/drone/pr Build is passing
Details
This commit is contained in:
parent
9126d22822
commit
380def9db7
|
@ -214,7 +214,7 @@ async function deleteAttachment() {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const r = await attachmentService.delete(attachmentToDelete.value)
|
const r = await attachmentService.delete(attachmentToDelete.value)
|
||||||
attachmentStore.removeById(this.attachmentToDelete.id)
|
attachmentStore.removeById(attachmentToDelete.value.id)
|
||||||
success(r)
|
success(r)
|
||||||
setAttachmentToDelete(null)
|
setAttachmentToDelete(null)
|
||||||
} catch(e) {
|
} catch(e) {
|
||||||
|
|
Reference in New Issue