diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index a8360f6..60f9539 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -580,6 +580,107 @@ function DriveDetail({ slot, onClose, t }) { ); } +const driveTypeBadge = (type, t) => { + const labels = { nvme: "NVMe", raid: "RAID", ssd: "SSD", hdd: "HDD", disk: "Disk" }; + return ( + + {labels[type] || type} + + ); +}; + +function HostDrivesCard({ drives, onSelect, t }) { + if (!drives || drives.length === 0) return null; + return ( +