Skip to content

Commit

Permalink
Remove unnecessary async
Browse files Browse the repository at this point in the history
  • Loading branch information
wilwong89 committed Oct 25, 2023
1 parent f8d9f4e commit 5e1374d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/object/DeleteObjectButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 5e1374d

Please sign in to comment.