fix: correct drive index reference in storage details display

This commit is contained in:
2026-03-10 19:45:11 -04:00
parent ffc19d6eaa
commit 17c534a828

View File

@@ -329,7 +329,7 @@
<!-- Hover-reveal extra details -->
<div class="opacity-0 group-hover:opacity-100 max-h-0 group-hover:max-h-40 transition-all duration-300 overflow-hidden">
<div class="flex flex-wrap gap-x-4 gap-y-1 mt-2 pt-2 border-t border-neutral/10 text-[11px] text-base/50">
<span>Bus: <strong class="text-base/70">{{ strtoupper($drive['bus']) }}{{ $drive['bus_index'] }}</strong></span>
<span>Bus: <strong class="text-base/70">{{ strtoupper($drive['bus']) }}{{ $drive['index'] }}</strong></span>
<span>SSD Emulation: <strong class="text-base/70">{{ $drive['ssd'] ? 'Yes' : 'No' }}</strong></span>
<span>IO Thread: <strong class="text-base/70">{{ $drive['iothread'] ? 'Enabled' : 'Disabled' }}</strong></span>
<span>Discard: <strong class="text-base/70">{{ $drive['discard'] ? 'On' : 'Off' }}</strong></span>