Fix: Fix nav highlight in settings sub-page

pull/753/head
Nelson Chan 3 years ago
parent 1a218aaa17
commit f65cc655c0

@ -29,7 +29,7 @@
</router-link> </router-link>
</li> </li>
<li v-if="$root.loggedIn" class="nav-item"> <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") }} <font-awesome-icon icon="cog" /> {{ $t("Settings") }}
</router-link> </router-link>
</li> </li>

Loading…
Cancel
Save