Fixes bug on dataset overview click of edit
This commit is contained in:
parent
5fe0d40b7e
commit
11bf302631
|
@ -240,9 +240,10 @@ export class DatasetOverviewComponent extends BaseComponent implements OnInit {
|
|||
let url = this.router.createUrlTree(['/datasets/publicEdit/', dataset.id]);
|
||||
window.open(url.toString(), '_blank');
|
||||
} else {
|
||||
this.router.navigate(['/datasets/edit/', dataset.id]);
|
||||
// let url = this.router.createUrlTree(['/datasets/edit/', dataset.id]);
|
||||
let url = this.router.createUrlTree(['/plans/edit/', dataset.dmp.id], { queryParams: { dataset: dataset.id } });
|
||||
window.open(url.toString(), '_blank');
|
||||
// let url = this.router.createUrlTree(['/plans/edit/', dataset.dmp.id], { queryParams: { dataset: dataset.id } });
|
||||
// window.open(url.toString(), '_blank');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue