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