Handled error on upload file

This commit is contained in:
Giuseppe
2018-10-09 11:56:14 +02:00
parent e7dc095156
commit a33513ef4b
3 changed files with 15 additions and 1 deletions

View File

@@ -85,6 +85,10 @@ export class SubmissionUploadFilesComponent implements OnChanges {
);
}
public onUploadError() {
this.notificationsService.error(null, this.translate.get('submission.sections.upload.upload-failed'));
}
/**
* Method provided by Angular. Invoked when the instance is destroyed.
*/