...with previous commit

This commit is contained in:
apapachristou 2020-08-03 16:51:13 +03:00
parent c2f1b66c25
commit fc9f45c0aa
1 changed files with 2 additions and 2 deletions

View File

@ -264,10 +264,10 @@ export class DatasetOverviewComponent extends BaseComponent implements OnInit {
editClicked(dataset: DatasetOverviewModel) {
if (dataset.public) {
let url = this.router.navigate(['/datasets/publicEdit/', dataset.id])
let url = this.router.createUrlTree(['/datasets/publicEdit/', dataset.id])
window.open(url.toString(), '_blank')
} else {
let url = this.router.navigate(['/datasets/edit/', dataset.id])
let url = this.router.createUrlTree(['/datasets/edit/', dataset.id])
window.open(url.toString(), '_blank')
}
}