Skip to content

Commit

Permalink
Fix lists
Browse files Browse the repository at this point in the history
  • Loading branch information
wtlgo committed Nov 3, 2022
1 parent b2839ca commit d10c946
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/LanguageSwitch.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

<v-list-item
v-for="locale in availableLocales"
link
:key="`locale_${locale}`"
:active="globalLocale === locale"
@click="setLocale(locale)"
Expand Down
2 changes: 2 additions & 0 deletions src/components/ThemeSwitch.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
<v-divider />

<v-list-item
link
@click="switchTheme(false)"
:prepend-icon="mdiWhiteBalanceSunny"
:active="!isDarkTheme"
Expand All @@ -27,6 +28,7 @@
</v-list-item>

<v-list-item
link
@click="switchTheme(true)"
:prepend-icon="mdiWeatherNight"
:active="isDarkTheme"
Expand Down

0 comments on commit d10c946

Please sign in to comment.