Fixes bug on creating a new Dataset Description of an existing DMP.
This commit is contained in:
parent
99f9776e54
commit
f38a8fd36b
|
@ -415,7 +415,7 @@ export class DatasetWizardComponent extends BaseComponent implements OnInit, IBr
|
|||
}
|
||||
|
||||
submit() {
|
||||
this.datasetWizardService.createDataset(this.formGroup.value)
|
||||
this.datasetWizardService.createDataset(this.formGroup.getRawValue())
|
||||
.pipe(takeUntil(this._destroyed))
|
||||
.subscribe(data => {
|
||||
this.router.navigate(['datasets'], { queryParams: { dmpId: this.formGroup.get('dmp').value.id } });
|
||||
|
|
Loading…
Reference in New Issue