fix: attachment deletion #2472

Merged
konrad merged 1 commits from dpschen/frontend:feature/fix-attachment-deletion into main 2022-10-03 13:11:09 +00:00
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ async function deleteAttachment() {
try {
const r = await attachmentService.delete(attachmentToDelete.value)
attachmentStore.removeById(this.attachmentToDelete.id)
attachmentStore.removeById(attachmentToDelete.value.id)
success(r)
setAttachmentToDelete(null)
} catch(e) {