From 174b3af6fc8d2cea36b5bd9c3c58cc426f935e73 Mon Sep 17 00:00:00 2001 From: Erik Jan de Wit Date: Thu, 16 Feb 2023 15:49:39 +0100 Subject: [PATCH] Always use pagination for role mapping modal (#4414) --- apps/admin-ui/public/resources/en/common.json | 2 +- .../src/components/role-mapping/AddRoleMappingModal.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/admin-ui/public/resources/en/common.json b/apps/admin-ui/public/resources/en/common.json index dbe0a8935e..a40bf43da4 100644 --- a/apps/admin-ui/public/resources/en/common.json +++ b/apps/admin-ui/public/resources/en/common.json @@ -161,7 +161,7 @@ "assign": "Assign", "unAssignRole": "Unassign", "hideInheritedRoles": "Hide inherited roles", - "assignRolesTo": "Assign roles to {{client}} account", + "assignRolesTo": "Assign roles to {{client}}", "inherent": "Inherited", "unitLabel": "Select a time unit", "times": { diff --git a/apps/admin-ui/src/components/role-mapping/AddRoleMappingModal.tsx b/apps/admin-ui/src/components/role-mapping/AddRoleMappingModal.tsx index 88b9252c70..64259e4429 100644 --- a/apps/admin-ui/src/components/role-mapping/AddRoleMappingModal.tsx +++ b/apps/admin-ui/src/components/role-mapping/AddRoleMappingModal.tsx @@ -138,7 +138,7 @@ export const AddRoleMappingModal = ({ key={key} onSelect={(rows) => setSelectedRows([...rows])} searchPlaceholderKey="clients:searchByRoleName" - isPaginated={filterType === "clients"} + isPaginated searchTypeComponent={