mirror of
https://github.com/bitwarden/web
synced 2025-12-06 00:03:28 +00:00
storage percentage fix
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user