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