Skip to content

Commit

Permalink
fix: url navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
ARajgor authored and nalaso committed Apr 20, 2024
1 parent f2f4106 commit 3a7346c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ui/src/lib/components/Sidebar.svelte
Expand Up @@ -20,6 +20,7 @@
route: "/logs",
},
];
console.log($page.url)
</script>

<div
Expand All @@ -28,7 +29,7 @@
{#each navItems as { icon, tooltip, route }, i}
<SidebarButton
icon={icon}
href={$page.url.pathname + route}
href={route}
{tooltip}
isSelected={$page.url.pathname == route}
/>
Expand Down

0 comments on commit 3a7346c

Please sign in to comment.