From ea0290fb03221d100c43e08f5599f09e84f63386 Mon Sep 17 00:00:00 2001 From: George Kalampokis Date: Mon, 24 Feb 2020 11:38:26 +0200 Subject: [PATCH] Show error messages on dmp editor --- dmp-frontend/src/app/ui/dmp/editor/dmp-editor.component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/dmp-frontend/src/app/ui/dmp/editor/dmp-editor.component.ts b/dmp-frontend/src/app/ui/dmp/editor/dmp-editor.component.ts index aa70c2bce..2470b70e1 100644 --- a/dmp-frontend/src/app/ui/dmp/editor/dmp-editor.component.ts +++ b/dmp-frontend/src/app/ui/dmp/editor/dmp-editor.component.ts @@ -329,6 +329,7 @@ export class DmpEditorComponent extends BaseComponent implements OnInit, IBreadC } onCallbackError(error: any) { + this.uiNotificationService.snackBarNotification(error.error.message, SnackBarNotificationLevel.Error); this.setErrorModel(error.error); //this.validateAllFormFields(this.formGroup); }