Skip to content

Commit

Permalink
Apply suggestion
Browse files Browse the repository at this point in the history
Co-authored-by: Andreas Hasenkopf <ahasenkopf@suse.de>
  • Loading branch information
TeodoraPavlova and crazyscientist authored Apr 19, 2024
1 parent 7eab248 commit 7904f22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/EntityList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,8 @@ export default {
Promise.all(promises).then(() => this.getEntities({resetPage: true}));
},
onRestoration() {
const promises = this.selected.map(async eId => {
await this.$api.restoreEntity({
const promises = this.selected.map(eId => {
return this.$api.restoreEntity({
schemaSlug: this.schema.slug,
entityIdOrSlug: eId
});
Expand Down

0 comments on commit 7904f22

Please sign in to comment.