1
0
Fork 0
mirror of synced 2024-07-08 15:56:23 +12:00

Fix navigation

This commit is contained in:
Adria Navarro 2023-11-10 16:33:59 +01:00
parent ac57cdbf02
commit 24774f0836

View file

@ -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)}`)
} }