ActivityPub-federated video streaming platform using P2P directly in your web browser
Don't get quota twice
Chocobozzz348106f20cb0
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.tsindex c9ab35b1d2..b59fb73351 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, OnDestroysuper.ngOnInit()this.userService.getMyVideoQuotaUsed()- .subscribe(data => this.userVideoQuotaUsed = data.videoQuotaUsed)-- this.userService.getMyVideoQuotaUsed()- .subscribe(data => this.userVideoQuotaUsedDaily = data.videoQuotaUsedDaily)+ .subscribe(data => {+ this.userVideoQuotaUsed = data.videoQuotaUsed+ this.userVideoQuotaUsedDaily = data.videoQuotaUsedDaily+ })}ngOnDestroy () {