Fix: Fix nav highlight in settings sub-page

This commit is contained in:
Nelson Chan 2021-11-04 22:27:00 +08:00
parent 1a218aaa17
commit f65cc655c0

View file

@ -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>