mirror of
https://github.com/nicolargo/glances.git
synced 2024-12-26 02:31:36 +03:00
Merge pull request #841 from nclsHart/webui-fix-839
[Web UI] Fix process list sometimes not display on firefox
This commit is contained in:
commit
e4c3cffbdb
@ -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));
|
||||
|
||||
process.cmdline = process.cmdline.join(' ');
|
||||
if (Array.isArray(process.cmdline)) {
|
||||
process.cmdline = process.cmdline.join(' ');
|
||||
}
|
||||
|
||||
this.processes.push(process);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user