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

pull/717/head
nicolargo 2015-10-22 21:46:45 +02:00
commit 1b18e3f48e
1 changed files with 5 additions and 5 deletions

View File

@ -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;
};
});