Fix grid density misreporting
This commit is contained in:
parent
4209cabfe1
commit
aca2ef9c6d
@ -79,7 +79,7 @@ export default function SiteChecklistClient({
|
||||
isGridHomepageEnabled,
|
||||
gridAspectRatio,
|
||||
hasGridAspectRatio,
|
||||
gridDensity,
|
||||
hasHighGridDensity,
|
||||
hasGridDensityPreference,
|
||||
// Settings
|
||||
isGeoPrivacyEnabled,
|
||||
@ -604,7 +604,7 @@ export default function SiteChecklistClient({
|
||||
{renderEnvVars(['NEXT_PUBLIC_GRID_ASPECT_RATIO'])}
|
||||
</ChecklistRow>
|
||||
<ChecklistRow
|
||||
title={`Grid density: ${gridDensity ? 'low' : 'high'}`}
|
||||
title={`Grid density: ${hasHighGridDensity ? 'high' : 'low'}`}
|
||||
status={hasGridDensityPreference}
|
||||
optional
|
||||
>
|
||||
|
||||
@ -301,7 +301,7 @@ export const CONFIG_CHECKLIST_STATUS = {
|
||||
isGridHomepageEnabled: GRID_HOMEPAGE_ENABLED,
|
||||
gridAspectRatio: GRID_ASPECT_RATIO,
|
||||
hasGridAspectRatio: Boolean(process.env.NEXT_PUBLIC_GRID_ASPECT_RATIO),
|
||||
gridDensity: HIGH_DENSITY_GRID,
|
||||
hasHighGridDensity: HIGH_DENSITY_GRID,
|
||||
hasGridDensityPreference:
|
||||
Boolean(process.env.NEXT_PUBLIC_SHOW_LARGE_THUMBNAILS),
|
||||
// Settings
|
||||
|
||||
Loading…
Reference in New Issue
Block a user