Skip to content

Commit

Permalink
bug: fix ui groups paging (#7556)
Browse files Browse the repository at this point in the history
  • Loading branch information
Isan-Rivkin authored Mar 17, 2024
1 parent ccd6db6 commit 348b37b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webui/src/pages/auth/groups/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ const GroupsContainer = () => {
const lc = useLoginConfigContext();
const simplified = lc.RBAC === 'simplified';
const { results, loading, error, nextPage } = useAPIWithPagination(async () => {
const groups = await auth.listGroups(after);
const groups = await auth.listGroups("", after);
const enrichedResults = await Promise.all(groups?.results.map(async group => ({...group, acl: simplified && await getACLMaybe(group.id)})));
return {...groups, results: enrichedResults};
}, [after, refresh, lc.RBAC]);
Expand Down

0 comments on commit 348b37b

Please sign in to comment.