Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
style(truenas): prettier-format the unknown-health condition
rcourtman5db3396d78f0
diff --git a/frontend-modern/src/features/truenas/truenasPageModel.ts b/frontend-modern/src/features/truenas/truenasPageModel.tsindex e0c0feb2d5..70237150ce 100644--- a/frontend-modern/src/features/truenas/truenasPageModel.ts+++ b/frontend-modern/src/features/truenas/truenasPageModel.ts@@ -698,10 +698,7 @@ export function mapTrueNASStorageStatus(// The TrueNAS disk API carries no SMART/health field, so "unknown" is the// normal state of a healthy disk, not a warning signal (#1573). Only an// affirmatively bad health value earns the attention bucket.- if (- diskHealth &&- !['passed', 'healthy', 'ok', 'unknown', 'unavailable'].includes(diskHealth)- ) {+ if (diskHealth && !['passed', 'healthy', 'ok', 'unknown', 'unavailable'].includes(diskHealth)) {return 'attention';}if (['online', 'running', 'healthy'].includes(status)) return 'healthy';