mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 21:04:37 +03:00
Increase number of pages in pagination dropdown to 1000 (#6207)
This commit is contained in:
@@ -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 = [];
|
||||
|
||||
Reference in New Issue
Block a user