Skip to content

Commit 3a553ea

Browse files
committed
merge main into feat/app-bookmark-dialog
1 parent 507cc54 commit 3a553ea

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

‎src/lib/components/layout/sidebar/Sidebar.svelte‎

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -162,10 +162,10 @@
162162
{/if}
163163
<ul class="flex flex-col gap-1">
164164
{#each platformSection.items as item (item.label)}
165-
{@const active = isActive(item.href)}
165+
{@const active = isActive(resolve(item.route))}
166166
<li>
167167
<a
168-
href={item.href}
168+
href={resolve(item.route)}
169169
onclick={(e) => handleNavClick(e, item)}
170170
onkeydown={(e) => handleNavKeydown(e, item)}
171171
title={collapsed ? item.label : undefined}
@@ -203,7 +203,6 @@
203203
</div>
204204
{/if}
205205
<ul class="flex flex-col gap-1">
206-
<<<<<<< HEAD
207206
{#each pinnedBookmarks as bookmark (bookmark.id)}
208207
{@render bookmarkItem(bookmark)}
209208
{/each}
@@ -228,9 +227,9 @@
228227
</button>
229228
{/if}
230229
{#if toolsOpen || collapsed}
231-
<ul class="flex flex-col gap-1">
232-
{#each toolsSection.items as item (item.label)}
233-
{@const active = isActive(resolve(item.route))}
230+
<ul class="flex flex-col gap-1">
231+
{#each toolsSection.items as item (item.label)}
232+
{@const active = isActive(resolve(item.route))}
234233
<li>
235234
<a
236235
href={resolve(item.route)}

0 commit comments

Comments
 (0)