Skip to content

Commit

Permalink
Hide delete modal on removal
Browse files Browse the repository at this point in the history
  • Loading branch information
blazejkustra committed Aug 26, 2024
1 parent e1c591c commit 3172be1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ function WorkspaceWorkflowsApprovalsEditPage({policy, isLoadingReportData = true

// Remove the approval workflow using the initial data as it could be already edited
Workflow.removeApprovalWorkflow(route.params.policyID, initialApprovalWorkflow);
setIsDeleteModalVisible(false);
Navigation.dismissModal();
}, [initialApprovalWorkflow, route.params.policyID]);

Expand Down

0 comments on commit 3172be1

Please sign in to comment.