Removing spaces between CPU load and temperature.
This commit is contained in:
parent
9e944b231f
commit
a283dced07
|
|
@ -143,7 +143,7 @@ CpuProgressBar.prototype.getDefaultText = function() {
|
||||||
};
|
};
|
||||||
|
|
||||||
CpuProgressBar.prototype.setUsage = function(usage) {
|
CpuProgressBar.prototype.setUsage = function(usage) {
|
||||||
const temp = this.temp? " / " + this.temp + "°C" : "";
|
const temp = this.temp? "/" + this.temp + "°C" : "";
|
||||||
this.set(usage, "Server CPU [" + Math.round(usage * 100) + "%" + temp + "]", usage > .85);
|
this.set(usage, "Server CPU [" + Math.round(usage * 100) + "%" + temp + "]", usage > .85);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue