update storage-overview.tsx

This commit is contained in:
MacRimi
2026-04-12 23:11:31 +02:00
parent 71950369e1
commit 7af4150e44
2 changed files with 48 additions and 27 deletions

View File

@@ -1904,7 +1904,7 @@ function SmartTestTab({ disk }: SmartTestTabProps) {
const [installing, setInstalling] = useState(false)
// Check if required tools are installed for this disk type
const isNvme = disk.name.startsWith('nvme')
const isNvme = disk.name.includes('nvme')
const toolsAvailable = testStatus.tools_installed
? (isNvme ? testStatus.tools_installed.nvme : testStatus.tools_installed.smartctl)
: true // Assume true until we get the status