fixed #25
This commit is contained in:
parent
85aac9818c
commit
bfe72e1e67
@ -400,6 +400,9 @@ function updateTablePagination(pageControlsId, currentPage, pageSize, totalItems
|
|||||||
|
|
||||||
let startPage, endPage;
|
let startPage, endPage;
|
||||||
|
|
||||||
|
currentPage = parseInt(currentPage);
|
||||||
|
pageSize = parseInt(pageSize);
|
||||||
|
|
||||||
if (pages <= maxVisiblePages) {
|
if (pages <= maxVisiblePages) {
|
||||||
// If total pages are less than or equal to max visible pages, show all
|
// If total pages are less than or equal to max visible pages, show all
|
||||||
startPage = 1;
|
startPage = 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user