From 272d70ec2c6cc898f8ff2aee417966adc41a6766 Mon Sep 17 00:00:00 2001 From: Erik Jan de Wit Date: Tue, 1 Nov 2022 13:22:42 +0100 Subject: [PATCH] Sort client roles based on clientId and role name (#3672) --- .../src/components/role-mapping/AddRoleMappingModal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/admin-ui/src/components/role-mapping/AddRoleMappingModal.tsx b/apps/admin-ui/src/components/role-mapping/AddRoleMappingModal.tsx index e75366c080..64259e4429 100644 --- a/apps/admin-ui/src/components/role-mapping/AddRoleMappingModal.tsx +++ b/apps/admin-ui/src/components/role-mapping/AddRoleMappingModal.tsx @@ -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}` ); };