Merge pull request #16794 from strapi/feature/review-workflow-multiple-delete-confirm

Settings: Close delete confirmation modal after deletion
This commit is contained in:
Gustav Hansen 2023-05-22 13:50:40 +02:00 committed by GitHub
commit a5d02f639b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -102,7 +102,8 @@ export function ReviewWorkflowsListView() {
try {
const res = await mutateAsync({ workflowId: workflowToDelete });
refetchWorkflow();
await refetchWorkflow();
setWorkflowToDelete(null);
return res;
} catch (error) {