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:
parent
cd4cb177e6
commit
34dd7cb4ca
4 changed files with 5 additions and 4 deletions
|
@ -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 () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue