1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-24 12:06:15 +01:00

storage percentage fix

This commit is contained in:
Kyle Spearrin 2017-07-11 11:05:19 -04:00
parent 1dbf831bda
commit ccb7ede4fa
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;