提交 c93093d3 编写于 作者: N Nicolas Hart

[Web UI] does not display process with no result

上级 3ad608e3
......@@ -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) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册