diff options
author | Chocobozzz <me@florianbigard.com> | 2018-06-18 10:50:56 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-06-18 10:50:56 +0200 |
commit | a2788c698eae1d2bfeedb06a1c4c3fb82b5e30a8 (patch) | |
tree | bc68dc3e4a52c8ec701b9947bca2ed0e660d0c5c /client/src/app/+admin | |
parent | 6304df89d66088dc825b910cc48371254a1adb7f (diff) | |
download | PeerTube-a2788c698eae1d2bfeedb06a1c4c3fb82b5e30a8.tar.gz PeerTube-a2788c698eae1d2bfeedb06a1c4c3fb82b5e30a8.tar.zst PeerTube-a2788c698eae1d2bfeedb06a1c4c3fb82b5e30a8.zip |
Fix quota precision in users list
Diffstat (limited to 'client/src/app/+admin')
-rw-r--r-- | client/src/app/+admin/users/shared/user.service.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/+admin/users/shared/user.service.ts b/client/src/app/+admin/users/shared/user.service.ts index cd810d216..1af1e4ef2 100644 --- a/client/src/app/+admin/users/shared/user.service.ts +++ b/client/src/app/+admin/users/shared/user.service.ts | |||
@@ -64,7 +64,7 @@ export class UserService { | |||
64 | if (user.videoQuota === -1) { | 64 | if (user.videoQuota === -1) { |
65 | videoQuota = this.i18n('Unlimited') | 65 | videoQuota = this.i18n('Unlimited') |
66 | } else { | 66 | } else { |
67 | videoQuota = this.bytesPipe.transform(user.videoQuota) | 67 | videoQuota = this.bytesPipe.transform(user.videoQuota, 0) |
68 | } | 68 | } |
69 | 69 | ||
70 | return Object.assign(user, { | 70 | return Object.assign(user, { |