Sort client roles based on clientId and role name (#3672)

This commit is contained in:
Erik Jan de Wit 2022-11-01 13:22:42 +01:00 committed by GitHub
parent db1ea6b70c
commit 272d70ec2c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -97,7 +97,7 @@ export const AddRoleMappingModal = ({
role: { id: e.id, name: e.role, description: e.description },
id: e.id,
})),
compareRow
({ client: { clientId }, role: { name } }) => `${clientId}${name}`
);
};