storage percentage fix
This commit is contained in:
parent
1dbf831bda
commit
ccb7ede4fa
|
@ -128,7 +128,7 @@
|
|||
currentName: org.StorageName || '0 GB'
|
||||
};
|
||||
|
||||
$scope.storage.percentage = +($scope.storage.currentGb / $scope.storage.maxGb).toFixed(2);
|
||||
$scope.storage.percentage = +(100 * ($scope.storage.currentGb / $scope.storage.maxGb)).toFixed(2);
|
||||
}
|
||||
|
||||
$scope.subscription = null;
|
||||
|
|
|
@ -95,7 +95,7 @@
|
|||
currentName: billing.StorageName || '0 GB'
|
||||
};
|
||||
|
||||
$scope.storage.percentage = +($scope.storage.currentGb / $scope.storage.maxGb).toFixed(2);
|
||||
$scope.storage.percentage = +(100 * ($scope.storage.currentGb / $scope.storage.maxGb)).toFixed(2);
|
||||
}
|
||||
|
||||
$scope.subscription = null;
|
||||
|
|
Loading…
Reference in New Issue