diff --git a/src/web-server/shared-routes.ts b/src/web-server/shared-routes.ts index 7a11fd63..fc7d768b 100644 --- a/src/web-server/shared-routes.ts +++ b/src/web-server/shared-routes.ts @@ -154,7 +154,10 @@ function checkSymlinkStatus(): { valid: boolean; message: string } { if (validLinks === linkTypes.length) { return { valid: true, message: 'Symlinks active' }; } else if (validLinks > 0) { - return { valid: false, message: `Symlinks partially configured (${validLinks}/${linkTypes.length})` }; + return { + valid: false, + message: `Symlinks partially configured (${validLinks}/${linkTypes.length})`, + }; } return { valid: false, message: 'Symlinks not configured' }; diff --git a/ui/src/pages/home.tsx b/ui/src/pages/home.tsx index fd34fa3f..2c28ca53 100644 --- a/ui/src/pages/home.tsx +++ b/ui/src/pages/home.tsx @@ -117,7 +117,9 @@ export function HomePage() { value={overview?.health ? `${overview.health.passed}/${overview.health.total}` : '-'} icon={Activity} color={ - overview?.health ? HEALTH_COLORS[overview.health.status as keyof typeof HEALTH_COLORS] : undefined + overview?.health + ? HEALTH_COLORS[overview.health.status as keyof typeof HEALTH_COLORS] + : undefined } onClick={() => navigate('/health')} />