提交 1b18e3f4 编写于 作者: N nicolargo

Merge branch 'develop' of https://github.com/nicolargo/glances into develop

......@@ -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.
先完成此消息的编辑!
想要评论请 注册