mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
[ADF-2826] fixed wrong parsing for error message (#3317)
This commit is contained in:
parent
9749a3837e
commit
2dff636fb1
@ -73,7 +73,7 @@ export class DemoPermissionComponent implements OnInit {
|
|||||||
|
|
||||||
showErrorMessage(error) {
|
showErrorMessage(error) {
|
||||||
this.notificationService.openSnackMessage(
|
this.notificationService.openSnackMessage(
|
||||||
JSON.parse(error.response.text).error.errorKey,
|
error,
|
||||||
4000
|
4000
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user