mirror of
https://github.com/Crosstalk-Solutions/project-nomad.git
synced 2026-03-29 13:09:26 +02:00
The storage projection bar was blindly using disk[0], which on systems with multiple drives (like the Minisforum AI X1 Pro) could be an empty or uninitialized drive (e.g., sda showing N/A / N/A). Now the disk selection: 1. Filters out disks with totalSize === 0 (invalid/empty drives) 2. Prefers disk containing root (/) or /storage mount point 3. Falls back to largest valid disk if no root mount found This fixes the NaN% and 0 Bytes display on multi-drive systems. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| complete.tsx | ||
| index.tsx | ||