...with previous commit
This commit is contained in:
parent
c2f1b66c25
commit
fc9f45c0aa
|
@ -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')
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue