mirror of
https://github.com/strapi/strapi.git
synced 2025-11-02 02:44:55 +00:00
Merge pull request #16794 from strapi/feature/review-workflow-multiple-delete-confirm
Settings: Close delete confirmation modal after deletion
This commit is contained in:
commit
a5d02f639b
@ -102,7 +102,8 @@ export function ReviewWorkflowsListView() {
|
||||
try {
|
||||
const res = await mutateAsync({ workflowId: workflowToDelete });
|
||||
|
||||
refetchWorkflow();
|
||||
await refetchWorkflow();
|
||||
setWorkflowToDelete(null);
|
||||
|
||||
return res;
|
||||
} catch (error) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user