From a2788c698eae1d2bfeedb06a1c4c3fb82b5e30a8 Mon Sep 17 00:00:00 2001
From: Chocobozzz <me@florianbigard.com>
Date: Mon, 18 Jun 2018 10:50:56 +0200
Subject: [PATCH] Fix quota precision in users list

---
 client/src/app/+admin/users/shared/user.service.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/client/src/app/+admin/users/shared/user.service.ts b/client/src/app/+admin/users/shared/user.service.ts
index cd810d2168..1af1e4ef2c 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, {
-- 
GitLab