Commit 95d713b2 authored by George Kalampokis's avatar George Kalampokis

Small fix for creating new versions of Dataset Templates

parent 0cc89fd2
......@@ -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(() => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment