Fixes bug on dmp status value on failing action "finalize"
This commit is contained in:
parent
8ad6a8f158
commit
5cd5b96fb3
|
@ -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);
|
||||
}
|
||||
);
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue