aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--client/src/app/videos/+video-edit/video-add-components/video-upload.component.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/client/src/app/videos/+video-edit/video-add-components/video-upload.component.ts b/client/src/app/videos/+video-edit/video-add-components/video-upload.component.ts
index c9ab35b1d..b59fb7335 100644
--- a/client/src/app/videos/+video-edit/video-add-components/video-upload.component.ts
+++ b/client/src/app/videos/+video-edit/video-add-components/video-upload.component.ts
@@ -68,10 +68,10 @@ export class VideoUploadComponent extends VideoSend implements OnInit, OnDestroy
68 super.ngOnInit() 68 super.ngOnInit()
69 69
70 this.userService.getMyVideoQuotaUsed() 70 this.userService.getMyVideoQuotaUsed()
71 .subscribe(data => this.userVideoQuotaUsed = data.videoQuotaUsed) 71 .subscribe(data => {
72 72 this.userVideoQuotaUsed = data.videoQuotaUsed
73 this.userService.getMyVideoQuotaUsed() 73 this.userVideoQuotaUsedDaily = data.videoQuotaUsedDaily
74 .subscribe(data => this.userVideoQuotaUsedDaily = data.videoQuotaUsedDaily) 74 })
75 } 75 }
76 76
77 ngOnDestroy () { 77 ngOnDestroy () {