WebUI : fixe display of nice on windows

This commit is contained in:
Floran Brutel 2015-11-07 08:01:07 +01:00
parent 25816ceae7
commit 2a3d58620d

View File

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