Small fix for creating new versions of Dataset Templates
This commit is contained in:
parent
0cc89fd260
commit
95d713b213
|
@ -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(() => {
|
||||
|
|
Loading…
Reference in New Issue