From 842f733638c132c36e44e85de941b3b883141b2e Mon Sep 17 00:00:00 2001 From: adam Date: Sat, 7 Mar 2026 19:07:14 +0000 Subject: [PATCH] Add tree-line connector for RAID child drives in host drives card --- frontend/src/App.jsx | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index e2908b2..7783844 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -698,9 +698,20 @@ function HostDrivesCard({ drives, onSelect, t }) { )} - {d.physical_drives?.map((pd, i) => ( - - ))} + {d.physical_drives?.length > 0 && ( +
+ {d.physical_drives.map((pd, i) => ( +
+
+
+ +
+
+ ))} +
+ )} ))}