From 7eab24851397554c3e63bc462e98543e1815f2d1 Mon Sep 17 00:00:00 2001 From: TeodoraPavlova <27234545+TeodoraPavlova@users.noreply.github.com> Date: Fri, 19 Apr 2024 11:52:20 +0300 Subject: [PATCH] Apply suggestion Co-authored-by: Andreas Hasenkopf --- frontend/src/components/EntityList.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/EntityList.vue b/frontend/src/components/EntityList.vue index bedf2b6..9a7522b 100644 --- a/frontend/src/components/EntityList.vue +++ b/frontend/src/components/EntityList.vue @@ -155,8 +155,8 @@ export default { this.selected = this.$refs.selector.getSelected(); }, onDeletion() { - const promises = this.selected.map(async eId => { - await this.$api.deleteEntity({ + const promises = this.selected.map(eId => { + return this.$api.deleteEntity({ schemaSlug: this.schema.slug, entityIdOrSlug: eId });