Add information at video upload if user video quota is reached

pull/87/head
Chocobozzz 2017-09-06 17:45:38 +02:00
parent 77a5501f64
commit a8b5de6c67
1 changed files with 2 additions and 0 deletions

View File

@ -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)