Skip to content

Commit

Permalink
Force bottom nav bar to refresh on route change
Browse files Browse the repository at this point in the history
Fixes icons staying highlighted in HolodexNet#688
  • Loading branch information
rsandz committed May 14, 2023
1 parent 755ae76 commit 0128998
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/nav/MainNav.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</NavDrawer>

<!--* nav drawer is for the left --->
<BottomNav v-if="isMobile" :pages="pages.filter((page) => !page.collapsible)" :active="!isWatchPage" />
<BottomNav v-if="isMobile" :pages="pages.filter((page) => !page.collapsible)" :active="!isWatchPage" :key="$route.path" />
<!--* bottom bar --->

<v-app-bar
Expand Down

0 comments on commit 0128998

Please sign in to comment.