diff --git a/scm-ui/ui-webapp/src/groups/containers/DeleteGroup.tsx b/scm-ui/ui-webapp/src/groups/containers/DeleteGroup.tsx index d3e3661152..62515fd955 100644 --- a/scm-ui/ui-webapp/src/groups/containers/DeleteGroup.tsx +++ b/scm-ui/ui-webapp/src/groups/containers/DeleteGroup.tsx @@ -83,6 +83,7 @@ export const DeleteGroup: FC = ({ confirmDialog = true, group, history, t onClick: () => null } ]} + close={() => setShowConfirmAlert(false)} /> ); } diff --git a/scm-ui/ui-webapp/src/repos/permissions/components/buttons/DeletePermissionButton.tsx b/scm-ui/ui-webapp/src/repos/permissions/components/buttons/DeletePermissionButton.tsx index 1b9f6deaaf..9ae010dc80 100644 --- a/scm-ui/ui-webapp/src/repos/permissions/components/buttons/DeletePermissionButton.tsx +++ b/scm-ui/ui-webapp/src/repos/permissions/components/buttons/DeletePermissionButton.tsx @@ -79,6 +79,7 @@ const DeletePermissionButton: FC = ({ onClick: () => null } ]} + close={() => setShowConfirmAlert(false)} /> ); } diff --git a/scm-ui/ui-webapp/src/users/containers/DeleteUser.tsx b/scm-ui/ui-webapp/src/users/containers/DeleteUser.tsx index 51a2b80387..849f1e4e52 100644 --- a/scm-ui/ui-webapp/src/users/containers/DeleteUser.tsx +++ b/scm-ui/ui-webapp/src/users/containers/DeleteUser.tsx @@ -83,6 +83,7 @@ const DeleteUser: FC = ({ confirmDialog = true, loading, error, t, histor onClick: () => null } ]} + close={() => setShowConfirmAlert(false)} /> ); }