mirror of
https://github.com/stashapp/stash.git
synced 2025-12-06 16:34:02 +01:00
Increase number of pages in pagination dropdown to 1000 (#6207)
This commit is contained in:
parent
90baa31ee3
commit
db79cf9bb1
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ const PageCount: React.FC<{
|
|||
useStopWheelScroll(pageInput);
|
||||
|
||||
const pageOptions = useMemo(() => {
|
||||
const maxPagesToShow = 10;
|
||||
const maxPagesToShow = 1000;
|
||||
const min = Math.max(1, currentPage - maxPagesToShow / 2);
|
||||
const max = Math.min(min + maxPagesToShow, totalPages);
|
||||
const pages = [];
|
||||
|
|
|
|||
Loading…
Reference in a new issue