Skip to content

Commit

Permalink
avoid possible negative offset
Browse files Browse the repository at this point in the history
  • Loading branch information
martenson committed Oct 31, 2024
1 parent c6a10d6 commit 8557fcb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ export default {
this.sortBy,
this.sortDesc,
this.perPage,
(this.currentPage - 1) * this.perPage,
(this.currentPage ? this.currentPage - 1 : 0) * this.perPage,
this.searchText
)
.then((response) => {
Expand Down

0 comments on commit 8557fcb

Please sign in to comment.