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 inheritanceMap = React.useRef<{ [key: string]: string }>({});
|
||||
|
||||
console.log(id)
|
||||
|
||||
const getSubRoles = async (
|
||||
role: RoleRepresentation,
|
||||
allRoles: RoleRepresentation[],
|
||||
|
|
|
@ -13,8 +13,7 @@ export const RealmRolesSection = () => {
|
|||
max: max!,
|
||||
search: search!,
|
||||
};
|
||||
const x = await adminClient.roles.find(params);
|
||||
return x;
|
||||
return await adminClient.roles.find(params);
|
||||
};
|
||||
return (
|
||||
<>
|
||||
|
|
Loading…
Reference in a new issue