Merge pull request #6691 from nextcloud/rounding

Use full percentages in quota bar percentages
This commit is contained in:
Joas Schilling 2017-09-28 21:38:15 +02:00 committed by GitHub
commit 7a5762f494
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ class PersonalInfo implements ISettings {
$parameters = [
'total_space' => $totalSpace,
'usage' => \OC_Helper::humanFileSize($storageInfo['used']),
'usage_relative' => $storageInfo['relative'],
'usage_relative' => round($storageInfo['relative']),
'quota' => $storageInfo['quota'],
'avatarChangeSupported' => $user->canChangeAvatar(),
'lookupServerUploadEnabled' => $lookupServerUploadEnabled,