From 95d713b213040149c31c296bd80ae8665199c44e Mon Sep 17 00:00:00 2001 From: George Kalampokis Date: Mon, 20 Jan 2020 18:09:03 +0200 Subject: [PATCH] Small fix for creating new versions of Dataset Templates --- .../dataset-profile/editor/dataset-profile-editor.component.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dmp-frontend/src/app/ui/admin/dataset-profile/editor/dataset-profile-editor.component.ts b/dmp-frontend/src/app/ui/admin/dataset-profile/editor/dataset-profile-editor.component.ts index 3d102781d..e27f94cad 100644 --- a/dmp-frontend/src/app/ui/admin/dataset-profile/editor/dataset-profile-editor.component.ts +++ b/dmp-frontend/src/app/ui/admin/dataset-profile/editor/dataset-profile-editor.component.ts @@ -196,6 +196,8 @@ export class DatasetProfileEditorComponent extends BaseComponent implements OnIn this.router.navigate(['/dataset-profiles']); }); } else if (this.newVersionId) { + data.label = this.form.get('label').value; + data.description = this.form.get('description').value; this.datasetProfileService.newVersion(this.newVersionId, data) .pipe(takeUntil(this._destroyed)) .subscribe(() => {