cleaning up

This commit is contained in:
jenny-s51 2021-03-02 10:28:03 -05:00
parent f763fa85fb
commit c5cfd9cd7a

View file

@ -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]);