Fix quota precision in users list

pull/681/head
Chocobozzz 2018-06-18 10:50:56 +02:00
parent 6304df89d6
commit a2788c698e
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ export class UserService {
if (user.videoQuota === -1) { if (user.videoQuota === -1) {
videoQuota = this.i18n('Unlimited') videoQuota = this.i18n('Unlimited')
} else { } else {
videoQuota = this.bytesPipe.transform(user.videoQuota) videoQuota = this.bytesPipe.transform(user.videoQuota, 0)
} }
return Object.assign(user, { return Object.assign(user, {