on the roles page we have paging on others not (#20102)

fixes:  #19981
This commit is contained in:
Erik Jan de Wit 2023-05-03 18:10:18 +02:00 committed by GitHub
parent cd6cf45444
commit c4186100a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -135,7 +135,7 @@ export const AddRoleMappingModal = ({
key={key}
onSelect={(rows) => setSelectedRows([...rows])}
searchPlaceholderKey="clients:searchByRoleName"
isPaginated={!(filterType === "roles" && type === "users")}
isPaginated={!(filterType === "roles" && type !== "roles")}
searchTypeComponent={
<ToolbarItem>
<Dropdown