From f38a8fd36b1aa54b8f47f94b300c5dff35544a12 Mon Sep 17 00:00:00 2001 From: gkolokythas Date: Wed, 21 Aug 2019 13:20:05 +0300 Subject: [PATCH] Fixes bug on creating a new Dataset Description of an existing DMP. --- .../app/ui/dataset/dataset-wizard/dataset-wizard.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dmp-frontend/src/app/ui/dataset/dataset-wizard/dataset-wizard.component.ts b/dmp-frontend/src/app/ui/dataset/dataset-wizard/dataset-wizard.component.ts index de0c9e68d..d7cbd3287 100644 --- a/dmp-frontend/src/app/ui/dataset/dataset-wizard/dataset-wizard.component.ts +++ b/dmp-frontend/src/app/ui/dataset/dataset-wizard/dataset-wizard.component.ts @@ -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 } });