Skip to content

Commit

Permalink
fix(permission): unable to load more than 2 pages in permissions (#1688)
Browse files Browse the repository at this point in the history
  • Loading branch information
karelhala authored Oct 29, 2024
1 parent a0d5623 commit 2d08c25
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ const InventoryGroupsRole = (props) => {
{...(isLoading && { isLoading: true })}
onClick={() => {
fetchData([permissionID], { page: state[permissionID].page + 1, name: state[permissionID].filterValue });
dispatchLocally({ type: 'setPage', key: permissionID, page: state[permissionID].page++ });
dispatchLocally({ type: 'setPage', key: permissionID, page: state[permissionID].page + 1 });
}}
value="loader"
>
Expand Down

0 comments on commit 2d08c25

Please sign in to comment.