1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 10:19:35 +02:00

Fix quota in instance features table

This commit is contained in:
Chocobozzz 2019-07-29 16:30:01 +02:00
parent cd4cb177e6
commit 34dd7cb4ca
No known key found for this signature in database
GPG key ID: 583A612D890159BE
4 changed files with 5 additions and 4 deletions

View file

@ -22,7 +22,7 @@ export class InstanceFeaturesTableComponent implements OnInit {
}
get dailyUserVideoQuota () {
return this.serverService.getConfig().user.videoQuotaDaily
return Math.min(this.initialUserVideoQuota, this.serverService.getConfig().user.videoQuotaDaily)
}
ngOnInit () {