diff --git a/lib/utils/node.js b/lib/utils/node.js index dd9e8e8..e40cee5 100644 --- a/lib/utils/node.js +++ b/lib/utils/node.js @@ -61,16 +61,10 @@ define(['snabbdom', 'helper', 'moment'], function (V, helper, moment) { }; self.showLoad = function showLoad(d) { - if (!d.loadavg) { - return undefined; - } return showBar(d.loadavg.toFixed(2), d.loadavg % 1, d.loadavg >= d.nproc); }; self.showRAM = function showRAM(d) { - if (!d.memory_usage) { - return undefined; - } return showBar(Math.round(d.memory_usage * 100) + ' %', d.memory_usage, d.memory_usage >= 0.8); };