diff --git a/src/photo/PhotosEmptyState.tsx b/src/photo/PhotosEmptyState.tsx index 9373a5d8..ac9fadd0 100644 --- a/src/photo/PhotosEmptyState.tsx +++ b/src/photo/PhotosEmptyState.tsx @@ -1,6 +1,6 @@ import InfoBlock from '@/components/InfoBlock'; import SiteGrid from '@/components/SiteGrid'; -import { IS_CHECKLIST_COMPLETE } from '@/site/config'; +import { IS_SITE_READY } from '@/site/config'; import SiteChecklist from '@/site/SiteChecklist'; import { cc } from '@/utility/css'; import Link from 'next/link'; @@ -19,9 +19,9 @@ export default function PhotosEmptyState() { 'font-bold text-2xl', 'text-gray-700 dark:text-gray-200', )}> - {!IS_CHECKLIST_COMPLETE ? 'Finish Setup' : 'Welcome!'} + {!IS_SITE_READY ? 'Finish Setup' : 'Welcome!'} - {!IS_CHECKLIST_COMPLETE + {!IS_SITE_READY ? :
diff --git a/src/site/config.ts b/src/site/config.ts index 43f3861a..115d3d02 100644 --- a/src/site/config.ts +++ b/src/site/config.ts @@ -50,7 +50,7 @@ export const CONFIG_CHECKLIST_STATUS = { isOgTextBottomAligned: OG_TEXT_BOTTOM_ALIGNMENT, }; -export const IS_CHECKLIST_COMPLETE = +export const IS_SITE_READY = CONFIG_CHECKLIST_STATUS.hasPostgres && CONFIG_CHECKLIST_STATUS.hasBlob && CONFIG_CHECKLIST_STATUS.hasAuth &&