mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2026-10-03 12:06:38 +00:00
fix: honor idle and excluded temperature availability
This commit is contained in:
@@ -975,7 +975,8 @@ export function StorageOverview() {
|
||||
let unavailable = 0
|
||||
|
||||
storageData.disks.forEach((disk) => {
|
||||
if (disk.standby || typeof disk.temperature !== "number" ||
|
||||
// Match disk rows: policy-suppressed cached readings are not live temperatures.
|
||||
if (disk.standby || disk.idle || disk.excluded || typeof disk.temperature !== "number" ||
|
||||
!Number.isFinite(disk.temperature) || disk.temperature <= 0) {
|
||||
unavailable++
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user