fix question mark display instead of zero as nice level in process list

This commit is contained in:
Nicolas Hart
2015-05-06 22:33:01 +02:00
parent ff12ae387b
commit a831516ea3

View File

@@ -9,10 +9,10 @@ glancesApp.filter('min_size', function() {
});
glancesApp.filter('exclamation', function() {
return function(input) {
if (input == undefined || input =='') {
return '?'
if (input === undefined || input === '') {
return '?';
}
return input
return input;
};
});