Fixes the routing on Dataset edit's save button.
This commit is contained in:
parent
c78e24782f
commit
f98cfc2969
|
@ -407,7 +407,7 @@ export class DatasetWizardComponent extends BaseComponent implements OnInit, IBr
|
|||
this.datasetWizardService.createDataset(this.formGroup.value)
|
||||
.pipe(takeUntil(this._destroyed))
|
||||
.subscribe(data => {
|
||||
this.router.navigateByUrl('/datasets/dmp/' + this.formGroup.get('dmp').value.id);
|
||||
this.router.navigate(['datasets'], { queryParams: { dmpId: this.formGroup.get('dmp').value.id } });
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue