remove comment
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
This commit is contained in:
parent
578b853fd5
commit
ec6af8b9ae
1 changed files with 0 additions and 19 deletions
|
@ -71,25 +71,6 @@ export const RealmRolesSection = () => {
|
|||
},
|
||||
});
|
||||
|
||||
// const [toggleAssociatedRoleDialog, associatedRolesList] = useConfirmDialog({
|
||||
// titleKey: "roles:associatedRolesModalTitle",
|
||||
// messageKey: t("roles:roleDeleteConfirmDialog", {
|
||||
// selectedRoleName: selectedRole ? selectedRole!.name : "",
|
||||
// }),
|
||||
// continueButtonLabel: t("Add"),
|
||||
// continueButtonVariant: ButtonVariant.danger,
|
||||
// onConfirm: async () => {
|
||||
// try {
|
||||
// await adminClient.roles.delById({
|
||||
// id: selectedRole!.id!,
|
||||
// });
|
||||
// setSelectedRole(undefined);
|
||||
// addAlert(t("roleDeletedSuccess"), AlertVariant.success);
|
||||
// } catch (error) {
|
||||
// addAlert(`${t("roleDeleteError")} ${error}`, AlertVariant.danger);
|
||||
// }
|
||||
// },
|
||||
// });
|
||||
|
||||
const goToCreate = () => history.push(`${url}/add-role`);
|
||||
return (
|
||||
|
|
Loading…
Reference in a new issue