fix graph if value is NaN (e.g. if GPU is selected but no NVIDIA card detected)
This commit is contained in:
parent
52f5c61f16
commit
059839525a
@ -216,7 +216,7 @@ SystemMonitorGraph.prototype = {
|
||||
}
|
||||
|
||||
// concatenate new value
|
||||
values.push(value);
|
||||
values.push(isNaN(value) ? 0 : value);
|
||||
values.shift();
|
||||
this.values = values;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user