提交 f6930fba 编写于 作者: F Floran Brutel

WebUI : fix process count for stopped

上级 55097a33
......@@ -10,10 +10,10 @@ glancesApp.service('GlancesPluginProcessCount', function() {
this.setData = function(data, views) {
data = data[_pluginName];
this.total = data['total'];
this.running = data['running'];
this.sleeping = data['sleeping'];
this.stopped = data['stopped'];
this.thread = data['thread'];
this.total = data['total'] || 0;
this.running = data['running'] || 0;
this.sleeping = data['sleeping'] || 0;
this.stopped = data['stopped'] || 0;
this.thread = data['thread'] || 0;
};
});
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册