aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/instance/instance-features-table.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/shared/instance/instance-features-table.component.ts')
-rw-r--r--client/src/app/shared/instance/instance-features-table.component.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/shared/instance/instance-features-table.component.ts b/client/src/app/shared/instance/instance-features-table.component.ts
index 72e7c2730..a53082a93 100644
--- a/client/src/app/shared/instance/instance-features-table.component.ts
+++ b/client/src/app/shared/instance/instance-features-table.component.ts
@@ -22,7 +22,7 @@ export class InstanceFeaturesTableComponent implements OnInit {
22 } 22 }
23 23
24 get dailyUserVideoQuota () { 24 get dailyUserVideoQuota () {
25 return this.serverService.getConfig().user.videoQuotaDaily 25 return Math.min(this.initialUserVideoQuota, this.serverService.getConfig().user.videoQuotaDaily)
26 } 26 }
27 27
28 ngOnInit () { 28 ngOnInit () {