revert changes to RealmRolesSection
This commit is contained in:
parent
c5cfd9cd7a
commit
74638f9eb3
2 changed files with 1 additions and 4 deletions
|
@ -51,8 +51,6 @@ export const AssociatedRolesTab = ({
|
||||||
const { id } = useParams<{ id: string }>();
|
const { id } = useParams<{ id: string }>();
|
||||||
const inheritanceMap = React.useRef<{ [key: string]: string }>({});
|
const inheritanceMap = React.useRef<{ [key: string]: string }>({});
|
||||||
|
|
||||||
console.log(id)
|
|
||||||
|
|
||||||
const getSubRoles = async (
|
const getSubRoles = async (
|
||||||
role: RoleRepresentation,
|
role: RoleRepresentation,
|
||||||
allRoles: RoleRepresentation[],
|
allRoles: RoleRepresentation[],
|
||||||
|
|
|
@ -13,8 +13,7 @@ export const RealmRolesSection = () => {
|
||||||
max: max!,
|
max: max!,
|
||||||
search: search!,
|
search: search!,
|
||||||
};
|
};
|
||||||
const x = await adminClient.roles.find(params);
|
return await adminClient.roles.find(params);
|
||||||
return x;
|
|
||||||
};
|
};
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
|
|
Loading…
Reference in a new issue