1
0
Fork 0

Fix quota precision in users list

This commit is contained in:
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

View file

@ -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, {