Fixes bug on creating a new Dataset Description of an existing DMP.

This commit is contained in:
gkolokythas 2019-08-21 13:20:05 +03:00
parent 99f9776e54
commit f38a8fd36b
1 changed files with 1 additions and 1 deletions

View File

@ -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 } });