Skip to content

Commit

Permalink
Fix: Fix nav highlight in settings sub-page
Browse files Browse the repository at this point in the history
  • Loading branch information
chakflying committed Nov 16, 2021
1 parent 98d6149 commit 526a4da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layouts/Layout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
</router-link>
</li>
<li v-if="$root.loggedIn" class="nav-item">
<router-link to="/settings" class="nav-link">
<router-link to="/settings" class="nav-link" :class="{ active: $route.path.includes('settings') }">
<font-awesome-icon icon="cog" /> {{ $t("Settings") }}
</router-link>
</li>
Expand Down

0 comments on commit 526a4da

Please sign in to comment.