Skip to content

Commit 964d338

Browse files
committed
Merge branch 'main' of github.com:devforth/adminforth into main
2 parents ee724cb + ec205bc commit 964d338

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

adminforth/spa/src/views/ListView.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,8 +281,8 @@ async function startBulkAction(actionId) {
281281
282282
}
283283
});
284+
bulkActionLoadingStates.value[actionId] = false;
284285
if (data?.ok) {
285-
bulkActionLoadingStates.value[actionId] = false;
286286
checkboxes.value = [];
287287
await getList();
288288
@@ -295,7 +295,6 @@ async function startBulkAction(actionId) {
295295
296296
}
297297
if (data?.error) {
298-
bulkActionLoadingStates.value[actionId] = false;
299298
showErrorTost(data.error);
300299
}
301300
}

0 commit comments

Comments
 (0)