mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-28 12:45:45 +01:00
storage percentage fix
This commit is contained in:
parent
1dbf831bda
commit
ccb7ede4fa
@ -128,7 +128,7 @@
|
|||||||
currentName: org.StorageName || '0 GB'
|
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;
|
$scope.subscription = null;
|
||||||
|
@ -95,7 +95,7 @@
|
|||||||
currentName: billing.StorageName || '0 GB'
|
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;
|
$scope.subscription = null;
|
||||||
|
Loading…
Reference in New Issue
Block a user