fix: Increase collection pagination limit to max, closes #5311
This commit is contained in:
@@ -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 />}
|
||||||
|
|||||||
Reference in New Issue
Block a user