Vercel/app/admin/storage/page.tsx
Sam Becker a63f2c3fe3
Select All Photos (1 of 2) (#372)
* Add 'select all photos' to app state

* Create general purpose bulk photo action

* Fix infinite scroll pagination, temporarily hide "select all"

* Refine batch edit behavior

* Add admin endpoints to check storage

* Add missing storage count

* Refine missing file presentation

* Finalize storage status page

* Store image-dependent photo fields when reuploading

* Move storage checks behind flag
2026-02-12 22:28:37 -06:00

20 lines
546 B
TypeScript

import AdminInfoPage from '@/admin/AdminInfoPage';
import AdminStorageTable from '@/admin/storage/AdminStorageTable';
import { ADMIN_STORAGE_DEBUG_ENABLED } from '@/app/config';
import EnvVar from '@/components/EnvVar';
export default function AdminStoragePage() {
return <AdminInfoPage>
{ADMIN_STORAGE_DEBUG_ENABLED
? <AdminStorageTable />
: <div>
Set
{' '}
<EnvVar variable="ADMIN_STORAGE_DEBUG" />
{' '}
to {'"1"'} to enable
storage checks
</div>}
</AdminInfoPage>;
}