mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-5369] HTTP 500 response in adf-upload-button is emitted as a success event (#7087)
* [ADF-5369] HTTP 500 response in adf-upload-button is emitted as a success event * [ci:force] unit test fixed
This commit is contained in:
@@ -404,8 +404,8 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
|
||||
});
|
||||
}
|
||||
|
||||
openSnackMessageError(message: string) {
|
||||
this.notificationService.showError(message);
|
||||
openSnackMessageError(error: any) {
|
||||
this.notificationService.showError(error.value || error);
|
||||
}
|
||||
|
||||
openSnackMessageInfo(message: string) {
|
||||
|
Reference in New Issue
Block a user