1
0
Fork 0
mirror of synced 2024-07-05 22:40:39 +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)}
on:click={() => {
if (view.version === 2) {
$goto(`./view/v2/${view.id}`)
$goto(`./view/v2/${encodeURIComponent(view.id)}`)
} else {
$goto(`./view/v1/${encodeURIComponent(name)}`)
}