mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-11 16:05:44 +01:00
fix dialogs not closing properly
This commit is contained in:
@@ -83,6 +83,7 @@ export const DeleteGroup: FC<Props> = ({ confirmDialog = true, group, history, t
|
||||
onClick: () => null
|
||||
}
|
||||
]}
|
||||
close={() => setShowConfirmAlert(false)}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -79,6 +79,7 @@ const DeletePermissionButton: FC<Props> = ({
|
||||
onClick: () => null
|
||||
}
|
||||
]}
|
||||
close={() => setShowConfirmAlert(false)}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -83,6 +83,7 @@ const DeleteUser: FC<Props> = ({ confirmDialog = true, loading, error, t, histor
|
||||
onClick: () => null
|
||||
}
|
||||
]}
|
||||
close={() => setShowConfirmAlert(false)}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user