Small fix for creating new versions of Dataset Templates

This commit is contained in:
George Kalampokis 2020-01-20 18:09:03 +02:00
parent 0cc89fd260
commit 95d713b213
1 changed files with 2 additions and 0 deletions

View File

@ -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(() => {