From eee9d65ee8c149e2ab0819a159dc17841da07202 Mon Sep 17 00:00:00 2001 From: Sofia Papacharalampous Date: Wed, 24 Apr 2024 16:58:39 +0300 Subject: [PATCH] fix bug on dmp editor > on description delete --- .../app/ui/dmp/dmp-editor-blueprint/dmp-editor.component.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dmp-frontend/src/app/ui/dmp/dmp-editor-blueprint/dmp-editor.component.ts b/dmp-frontend/src/app/ui/dmp/dmp-editor-blueprint/dmp-editor.component.ts index 4923564c5..0ef5db80c 100644 --- a/dmp-frontend/src/app/ui/dmp/dmp-editor-blueprint/dmp-editor.component.ts +++ b/dmp-frontend/src/app/ui/dmp/dmp-editor-blueprint/dmp-editor.component.ts @@ -258,7 +258,10 @@ export class DmpEditorComponent extends BaseEditor implemen } refreshData(): void { - this.getItem(this.editorModel.id, (data: Dmp) => this.prepareForm(data)); + this.getItem(this.editorModel.id, (data: Dmp) => { + this.prepareForm(data) + if (this.isNew === false) this.nextStep(); + }); } refreshOnNavigateToData(id?: Guid): void {