Fix navigation
This commit is contained in:
parent
ac57cdbf02
commit
24774f0836
|
@ -53,7 +53,7 @@
|
||||||
selected={isViewActive(view, $isActive, $views, $viewsV2)}
|
selected={isViewActive(view, $isActive, $views, $viewsV2)}
|
||||||
on:click={() => {
|
on:click={() => {
|
||||||
if (view.version === 2) {
|
if (view.version === 2) {
|
||||||
$goto(`./view/v2/${view.id}`)
|
$goto(`./view/v2/${encodeURIComponent(view.id)}`)
|
||||||
} else {
|
} else {
|
||||||
$goto(`./view/v1/${encodeURIComponent(name)}`)
|
$goto(`./view/v1/${encodeURIComponent(name)}`)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue