Tweak public download config text

This commit is contained in:
Sam Becker 2024-09-21 15:13:16 -05:00
parent 9ad7f89dfb
commit 0dc627b774
2 changed files with 4 additions and 4 deletions

View File

@ -64,7 +64,7 @@ export default function SiteChecklistClient({
aiTextAutoGeneratedFields, aiTextAutoGeneratedFields,
hasAiTextAutoGeneratedFields, hasAiTextAutoGeneratedFields,
isPublicApiEnabled, isPublicApiEnabled,
isPublicDownloadsEnabled, arePublicDownloadsEnabled,
isOgTextBottomAligned, isOgTextBottomAligned,
gridAspectRatio, gridAspectRatio,
hasGridAspectRatio, hasGridAspectRatio,
@ -527,11 +527,11 @@ export default function SiteChecklistClient({
</ChecklistRow> </ChecklistRow>
<ChecklistRow <ChecklistRow
title="Public downloads" title="Public downloads"
status={isPublicDownloadsEnabled} status={arePublicDownloadsEnabled}
optional optional
> >
Set environment variable to {'"1"'} to enable Set environment variable to {'"1"'} to enable
public downloads of photos: public photo downloads:
{renderEnvVars(['NEXT_PUBLIC_ALLOW_PUBLIC_DOWNLOADS'])} {renderEnvVars(['NEXT_PUBLIC_ALLOW_PUBLIC_DOWNLOADS'])}
</ChecklistRow> </ChecklistRow>
<ChecklistRow <ChecklistRow

View File

@ -225,7 +225,7 @@ export const CONFIG_CHECKLIST_STATUS = {
Boolean(process.env.AI_TEXT_AUTO_GENERATED_FIELDS), Boolean(process.env.AI_TEXT_AUTO_GENERATED_FIELDS),
isPriorityOrderEnabled: PRIORITY_ORDER_ENABLED, isPriorityOrderEnabled: PRIORITY_ORDER_ENABLED,
isPublicApiEnabled: PUBLIC_API_ENABLED, isPublicApiEnabled: PUBLIC_API_ENABLED,
isPublicDownloadsEnabled: ALLOW_PUBLIC_DOWNLOADS, arePublicDownloadsEnabled: ALLOW_PUBLIC_DOWNLOADS,
isOgTextBottomAligned: OG_TEXT_BOTTOM_ALIGNMENT, isOgTextBottomAligned: OG_TEXT_BOTTOM_ALIGNMENT,
gridAspectRatio: GRID_ASPECT_RATIO, gridAspectRatio: GRID_ASPECT_RATIO,
hasGridAspectRatio: Boolean(process.env.NEXT_PUBLIC_GRID_ASPECT_RATIO), hasGridAspectRatio: Boolean(process.env.NEXT_PUBLIC_GRID_ASPECT_RATIO),