Fix admin page not displaying all photos
This commit is contained in:
parent
8c621d54e1
commit
9c030c80b1
@ -21,7 +21,6 @@ export default async function AdminPhotosPage() {
|
|||||||
] = await Promise.all([
|
] = await Promise.all([
|
||||||
getPhotos({
|
getPhotos({
|
||||||
hidden: 'include',
|
hidden: 'include',
|
||||||
sortBy: 'createdAt',
|
|
||||||
limit: INFINITE_SCROLL_INITIAL_ADMIN_PHOTOS,
|
limit: INFINITE_SCROLL_INITIAL_ADMIN_PHOTOS,
|
||||||
}).catch(() => []),
|
}).catch(() => []),
|
||||||
getPhotosMetaCached({ hidden: 'include'})
|
getPhotosMetaCached({ hidden: 'include'})
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user