From 8ea8fdef08eeda8fbcfb2b9f4d33dfcafdacc63b Mon Sep 17 00:00:00 2001 From: adam Date: Sat, 7 Mar 2026 05:36:55 +0000 Subject: [PATCH] Hide health status on RAID virtual disks in host drives section --- frontend/src/App.jsx | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index 459ea96..c9b18ba 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -596,22 +596,24 @@ const driveTypeBadge = (type, t) => { }; function HostDriveRow({ d, onSelect, t, indent }) { + const isRaid = d.drive_type === "raid"; const healthStatus = d.health_status || "healthy"; - const c = t.health[healthStatus] || t.health.healthy; + const c = isRaid ? t.health.empty : (t.health[healthStatus] || t.health.healthy); return ( ); }