From 5e1374d772690e4067a4850304331f2757e8a960 Mon Sep 17 00:00:00 2001 From: Wilson Wong Date: Wed, 25 Oct 2023 12:14:09 -0700 Subject: [PATCH] Remove unnecessary async --- frontend/src/components/object/DeleteObjectButton.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/object/DeleteObjectButton.vue b/frontend/src/components/object/DeleteObjectButton.vue index e693ae61..0f02b5db 100644 --- a/frontend/src/components/object/DeleteObjectButton.vue +++ b/frontend/src/components/object/DeleteObjectButton.vue @@ -39,7 +39,7 @@ const confirmDelete = () => { header: `Delete ${props.ids.length > 1 ? item + 's' : item}`, acceptLabel: 'Confirm', rejectLabel: 'Cancel', - accept: async () => { + accept: () => { props.ids?.forEach((id: string) => { objectStore.deleteObject(id, props.versionId) .then(() => emit('on-deleted-success', props.versionId))