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