Skip to content
This repository has been archived by the owner on Mar 29, 2024. It is now read-only.

Commit

Permalink
#220 -- fixed website drawer link not showing selected state.
Browse files Browse the repository at this point in the history
  • Loading branch information
TristanHoladay committed Jun 13, 2023
1 parent d5fde9f commit 10b0108
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions website/src/lib/NavigationDrawer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
selected={selectedRoute === route}
on:click={(e) => {
e.stopPropagation();
selectedRoute = route;
goto(`/${route}`);
}}
>
Expand All @@ -58,6 +59,7 @@
selected={selectedRoute === route}
on:click={(e) => {
e.stopPropagation();
selectedRoute = route;
goto(`/${route}`);
}}
>
Expand Down

0 comments on commit 10b0108

Please sign in to comment.