Merge pull request #6691 from nextcloud/rounding
Use full percentages in quota bar percentages
This commit is contained in:
commit
7a5762f494
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue