Add information at video upload if user video quota is reached
This commit is contained in:
parent
77a5501f64
commit
a8b5de6c67
|
@ -178,6 +178,8 @@ export class VideoAddComponent extends FormReactive implements OnInit {
|
||||||
this.error += ' access token refreshed. Please retry your request.'
|
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 {
|
} else {
|
||||||
this.error = 'Unknow error'
|
this.error = 'Unknow error'
|
||||||
console.error(this.error)
|
console.error(this.error)
|
||||||
|
|
Loading…
Reference in New Issue