dmp-editor.component.ts: [Bug fix - #8073] Set value of "status" field of formGroup to DmpStatus.Draft, after reset() is called.
This commit is contained in:
parent
5087a37e15
commit
4cab6ca160
|
@ -1065,6 +1065,7 @@ export class DmpEditorComponent extends CheckDeactivateBaseComponent implements
|
|||
}
|
||||
} else {
|
||||
this.formGroup.reset();
|
||||
this.formGroup.get("status").setValue(DmpStatus.Draft);
|
||||
this.formGroup.get('extraProperties').get('visible').setValue(false);
|
||||
this.formGroup.get('extraProperties').get('contact').setValue(this.authService.current().id);
|
||||
this.formGroup.get('associatedUsers').setValue([]);
|
||||
|
|
Loading…
Reference in New Issue