mirror of
https://github.com/unraid/webgui.git
synced 2026-02-25 11:49:12 -06:00
Dashboard: allow negative temps to show
This commit is contained in:
@@ -176,7 +176,7 @@ function device_temp(&$disk, &$red, &$orange) {
|
||||
} elseif (exceed($temp,$hot,$top)) {
|
||||
$color = 'orange'; $orange++;
|
||||
}
|
||||
return (($spin && $temp>0) ? "<span class='$color-text'>".my_temp($temp)."</span>" : "*").($nvme ? my_power($dev) : "");
|
||||
return ($spin ? "<span class='$color-text'>".my_temp($temp)."</span>" : "*").($nvme ? my_power($dev) : "");
|
||||
}
|
||||
function device_smart(&$disk, &$fail, &$smart) {
|
||||
global $numbers,$saved;
|
||||
|
||||
Reference in New Issue
Block a user