Just put a hyphen
This commit is contained in:
@@ -287,7 +287,7 @@ app.filter('prettyMemory', function () {
|
||||
|
||||
app.filter('prettyDiskSize', function () {
|
||||
return function (size) {
|
||||
if (!size) return 'Not available yet';
|
||||
if (!size) return ' - ';
|
||||
var i = Math.floor(Math.log(size) / Math.log(1024));
|
||||
return (size / Math.pow(1024, i)).toFixed(2) * 1 + ' ' + ['B', 'kB', 'MB', 'GB', 'TB'][i]; };
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user