mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-26 18:06:17 -05:00
Decreasing some log warnings to debugs. Decreasing CPU temperature warning color.
This commit is contained in:
parent
c97af1060b
commit
78218d3559
4 changed files with 4 additions and 4 deletions
|
|
@ -28,7 +28,7 @@ function CPUTemperatureStatistic({value, high_temperature, critical_temperature}
|
|||
const props = {};
|
||||
if ((critical_temperature && value >= critical_temperature) || (!critical_temperature && value >= 75)) {
|
||||
props['color'] = 'red';
|
||||
} else if ((high_temperature && value >= high_temperature) || (!high_temperature && value >= 60)) {
|
||||
} else if ((high_temperature && value >= high_temperature) || (!high_temperature && value >= 55)) {
|
||||
props['color'] = 'orange';
|
||||
}
|
||||
return <Statistic label='Temp C°' value={value} {...props}/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue