cleaning up
This commit is contained in:
parent
f763fa85fb
commit
c5cfd9cd7a
1 changed files with 0 additions and 14 deletions
|
@ -56,9 +56,6 @@ export const AssociatedRolesTab = ({
|
|||
const getSubRoles = async (
|
||||
role: RoleRepresentation,
|
||||
allRoles: RoleRepresentation[],
|
||||
first?: number,
|
||||
max?: number,
|
||||
search?: string,
|
||||
): Promise<RoleRepresentation[]> => {
|
||||
|
||||
// Fetch all composite roles
|
||||
|
@ -107,17 +104,6 @@ export const AssociatedRolesTab = ({
|
|||
return allRoles;
|
||||
};
|
||||
|
||||
|
||||
// const loader = async (first?: number, max?: number, search?: string, id?: string) => {
|
||||
// const params = {
|
||||
// first: first!,
|
||||
// max: max!,
|
||||
// search: search!,
|
||||
// id: id!
|
||||
// };
|
||||
// return await adminClient.roles.getCompositeRoles({...params});
|
||||
// };
|
||||
|
||||
useEffect(() => {
|
||||
refresh();
|
||||
}, [additionalRoles, isInheritedHidden]);
|
||||
|
|
Loading…
Reference in a new issue