Fix admin page not displaying all photos

This commit is contained in:
Ryan Salik 2024-06-26 20:08:51 -04:00 committed by GitHub
parent 8c621d54e1
commit 9c030c80b1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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'})