Merge pull request #841 from nclsHart/webui-fix-839

[Web UI] Fix process list sometimes not display on firefox
This commit is contained in:
Nicolas Hennion 2016-04-04 13:45:42 +02:00
commit e4c3cffbdb

View File

@ -36,7 +36,9 @@ glancesApp.service('GlancesPluginProcessList', function($filter, GlancesPlugin)
process.isNice = process.nice !== undefined && ((data['system'].os_name === 'Windows' && process.nice != 32) || (data['system'].os_name !== 'Windows' && process.nice != 0));
if (Array.isArray(process.cmdline)) {
process.cmdline = process.cmdline.join(' ');
}
this.processes.push(process);
}