mirror of
https://github.com/strapi/strapi.git
synced 2025-11-13 08:38:09 +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 {
|
try {
|
||||||
const res = await mutateAsync({ workflowId: workflowToDelete });
|
const res = await mutateAsync({ workflowId: workflowToDelete });
|
||||||
|
|
||||||
refetchWorkflow();
|
await refetchWorkflow();
|
||||||
|
setWorkflowToDelete(null);
|
||||||
|
|
||||||
return res;
|
return res;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user