Skip to content

Commit

Permalink
Fix show pagination issue in roles page.
Browse files Browse the repository at this point in the history
  • Loading branch information
mpmadhavig committed Dec 10, 2024
1 parent 0adff33 commit 821a97e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion features/admin.roles.v2/pages/role.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ const RolesPage: FunctionComponent<RolesPagePropsInterface> = (
/>
)
}
showPagination={ rolesList?.totalResults > 0 }
showPagination={ true }
totalPages={ Math.ceil(rolesList?.totalResults / listItemLimit) }
totalListSize={ rolesList?.totalResults }
isLoading={ isRolesListLoading }
Expand Down

0 comments on commit 821a97e

Please sign in to comment.