diff --git a/frontend/src/Components/Pagination.tsx b/frontend/src/Components/Pagination.tsx index 46260fa9..b6b26fae 100644 --- a/frontend/src/Components/Pagination.tsx +++ b/frontend/src/Components/Pagination.tsx @@ -7,15 +7,19 @@ import { export default function Pagination({ meta, setPage, - setPerPage + setPerPage, + specialPageSelecton }: { meta: PaginationMeta; setPage: (page: number) => void; setPerPage?: (perPage: number) => void; + specialPageSelecton?: boolean; }) { const page = meta.current_page - 1; const perPage = meta.per_page; - const perPageSelections = [10, 20, 50, 100]; + const perPageSelections = specialPageSelecton + ? [12, 24, 60, 120] + : [10, 20, 50, 100]; return (
)}