fix: Increase collection pagination limit to max, closes #5311

This commit is contained in:
Tom Moor
2023-05-08 17:00:13 -04:00
parent 06be19090c
commit 9dfdafa116

View File

@@ -23,6 +23,13 @@ function Collections() {
const { t } = useTranslation(); const { t } = useTranslation();
const orderedCollections = collections.orderedData; const orderedCollections = collections.orderedData;
const params = React.useMemo(
() => ({
limit: 100,
}),
[]
);
const [ const [
{ isCollectionDropping, isDraggingAnyCollection }, { isCollectionDropping, isDraggingAnyCollection },
dropToReorderCollection, dropToReorderCollection,
@@ -47,7 +54,7 @@ function Collections() {
<Relative> <Relative>
<PaginatedList <PaginatedList
fetch={collections.fetchPage} fetch={collections.fetchPage}
options={{ limit: 25 }} options={params}
aria-label={t("Collections")} aria-label={t("Collections")}
items={collections.orderedData} items={collections.orderedData}
loading={<PlaceholderCollections />} loading={<PlaceholderCollections />}