aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-09-06 17:45:38 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-09-06 17:45:38 +0200
commita8b5de6c670eb19ffbe40726bb60ef1d1dbc10dd (patch)
treeee7bcb2a1563d13d5da656fd12d7ae317e985559 /client/src/app/videos
parent77a5501f6413aff2f2a626b929dfda486fa9a3e6 (diff)
downloadPeerTube-a8b5de6c670eb19ffbe40726bb60ef1d1dbc10dd.tar.gz
PeerTube-a8b5de6c670eb19ffbe40726bb60ef1d1dbc10dd.tar.zst
PeerTube-a8b5de6c670eb19ffbe40726bb60ef1d1dbc10dd.zip
Add information at video upload if user video quota is reached
Diffstat (limited to 'client/src/app/videos')
-rw-r--r--client/src/app/videos/video-edit/video-add.component.ts2
1 files changed, 2 insertions, 0 deletions
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 {
178 this.error += ' access token refreshed. Please retry your request.' 178 this.error += ' access token refreshed. Please retry your request.'
179 } 179 }
180 ) 180 )
181 } else if (status === 403) {
182 this.error = 'Your video quota is reached, you can\'t upload this video.'
181 } else { 183 } else {
182 this.error = 'Unknow error' 184 this.error = 'Unknow error'
183 console.error(this.error) 185 console.error(this.error)