Skip to content

Commit

Permalink
add resetToFirstPage to userlist bottom pagination
Browse files Browse the repository at this point in the history
  • Loading branch information
lcampbell2 committed Oct 17, 2023
1 parent bf1afff commit 7950154
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions frontend/src/admin/UserList.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,11 @@ export function UserList({ includePending, permission, orgSlug, orgId }) {
{userList}

<RelayPaginationControls
onlyPagination={false}
selectedDisplayLimit={usersPerPage}
setSelectedDisplayLimit={setUsersPerPage}
displayLimitOptions={[5, 10, 20, 50, 100]}
resetToFirstPage={resetToFirstPage}
hasNextPage={hasNextPage}
hasPreviousPage={hasPreviousPage}
next={next}
Expand Down

0 comments on commit 7950154

Please sign in to comment.