- fileChange (event: any) {
- if (event.target.files && event.target.files.length) {
- const [ file ] = event.target.files
-
- if (file.size > this.maxVideoImageSize) {
- this.notificationsService.error(this.i18n('Error'), this.i18n('This image is too large.'))
- return
- }