From: Chocobozzz Date: Mon, 18 Jun 2018 08:50:56 +0000 (+0200) Subject: Fix quota precision in users list X-Git-Tag: v1.0.0-beta.9~25 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=a2788c698eae1d2bfeedb06a1c4c3fb82b5e30a8;p=github%2FChocobozzz%2FPeerTube.git Fix quota precision in users list --- 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 { if (user.videoQuota === -1) { videoQuota = this.i18n('Unlimited') } else { - videoQuota = this.bytesPipe.transform(user.videoQuota) + videoQuota = this.bytesPipe.transform(user.videoQuota, 0) } return Object.assign(user, {