[ADF-2826] fixed wrong parsing for error message (#3317)

This commit is contained in:
Vito 2018-05-14 10:27:22 +01:00 committed by Eugenio Romano
parent 9749a3837e
commit 2dff636fb1

View File

@ -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
); );
} }