remove comment
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
This commit is contained in:
parent
162146c371
commit
5064690ae8
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`);
|
const goToCreate = () => history.push(`${url}/add-role`);
|
||||||
return (
|
return (
|
||||||
|
|
Loading…
Reference in a new issue