From a2788c698eae1d2bfeedb06a1c4c3fb82b5e30a8 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 18 Jun 2018 10:50:56 +0200 Subject: Fix quota precision in users list --- client/src/app/+admin/users/shared/user.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/src/app') 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, { -- cgit v1.2.3