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 133fe8903..356dc43b4 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 @@ -251,7 +251,10 @@ export class DmpEditorComponent extends BaseComponent implements OnInit, IBreadC } else { this.onCallbackSuccess() } }, - error => this.onCallbackError(error) + error => { + this.formGroup.get('status').setValue(DmpStatus.Draft); + this.onCallbackError(error); + } ); }