fix bug on dmp editor > on description delete

This commit is contained in:
Sofia Papacharalampous 2024-04-24 16:58:39 +03:00
parent 64698bbe21
commit eee9d65ee8
1 changed files with 4 additions and 1 deletions

View File

@ -258,7 +258,10 @@ export class DmpEditorComponent extends BaseEditor<DmpEditorModel, Dmp> implemen
} }
refreshData(): void { 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 { refreshOnNavigateToData(id?: Guid): void {