mirror of
https://github.com/nicolargo/glances.git
synced 2024-12-27 19:25:27 +03:00
[Web UI] does not display process with no result
This commit is contained in:
parent
3ad608e325
commit
c93093d39f
@ -3,7 +3,14 @@ glancesApp.service('GlancesPluginAmps', function() {
|
||||
this.processes = [];
|
||||
|
||||
this.setData = function(data, views) {
|
||||
this.processes = data[_pluginName];
|
||||
var processes = data[_pluginName];
|
||||
|
||||
this.processes = [];
|
||||
angular.forEach(processes, function(process, key) {
|
||||
if (process.result !== null) {
|
||||
this.processes.push(process);
|
||||
}
|
||||
}, this);
|
||||
};
|
||||
|
||||
this.getDescriptionDecoration = function(process) {
|
||||
|
Loading…
Reference in New Issue
Block a user