mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 18:14:17 +00:00
Handled error on upload file
This commit is contained in:
@@ -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.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user