From a8b5de6c670eb19ffbe40726bb60ef1d1dbc10dd Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 6 Sep 2017 17:45:38 +0200 Subject: Add information at video upload if user video quota is reached --- client/src/app/videos/video-edit/video-add.component.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'client/src/app') diff --git a/client/src/app/videos/video-edit/video-add.component.ts b/client/src/app/videos/video-edit/video-add.component.ts index 5d6c0e0c7..768b6fbcd 100644 --- a/client/src/app/videos/video-edit/video-add.component.ts +++ b/client/src/app/videos/video-edit/video-add.component.ts @@ -178,6 +178,8 @@ export class VideoAddComponent extends FormReactive implements OnInit { this.error += ' access token refreshed. Please retry your request.' } ) + } else if (status === 403) { + this.error = 'Your video quota is reached, you can\'t upload this video.' } else { this.error = 'Unknow error' console.error(this.error) -- cgit v1.2.3