fix: attachment deletion
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
Dominik Pschenitschni 2022-10-03 13:30:36 +02:00
parent 9126d22822
commit 380def9db7
Signed by: dpschen
GPG Key ID: B257AC0149F43A77
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) {