project-nomad/admin/inertia/pages/easy-setup
Chris Sherwood 42a18c8dc6 fix(EasySetup): select valid primary disk for storage projection bar
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>
2026-01-23 14:20:11 -08:00
..
complete.tsx feat: [wip] easy setup wizard 2026-01-15 15:54:59 -08:00
index.tsx fix(EasySetup): select valid primary disk for storage projection bar 2026-01-23 14:20:11 -08:00