Fix language selection
This commit is contained in:
parent
e4d2f00f76
commit
6067727d1f
3 changed files with 5 additions and 5 deletions
|
|
@ -101,7 +101,7 @@
|
||||||
<v-icon>language</v-icon><v-icon>more_horiz</v-icon>
|
<v-icon>language</v-icon><v-icon>more_horiz</v-icon>
|
||||||
</v-btn>
|
</v-btn>
|
||||||
</v-col>
|
</v-col>
|
||||||
<SelectLanguageDialog v-model="showSelectLanguageDialog" v-on:close="showSelectLanguageDialog = false" />
|
<SelectLanguageDialog v-model="showSelectLanguageDialog" />
|
||||||
</v-row>
|
</v-row>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -211,8 +211,8 @@
|
||||||
|
|
||||||
<SelectLanguageDialog
|
<SelectLanguageDialog
|
||||||
v-model="showSelectLanguageDialog"
|
v-model="showSelectLanguageDialog"
|
||||||
v-on:close="showSelectLanguageDialog = false"
|
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<!-- Dialog for request Notification -->
|
<!-- Dialog for request Notification -->
|
||||||
<v-dialog
|
<v-dialog
|
||||||
v-model="notificationDialog"
|
v-model="notificationDialog"
|
||||||
|
|
|
||||||
|
|
@ -15,11 +15,11 @@
|
||||||
</v-card-title>
|
</v-card-title>
|
||||||
<v-card-text>
|
<v-card-text>
|
||||||
<v-select
|
<v-select
|
||||||
v-model="$i18n.locale"
|
:model-value="$i18n.locale"
|
||||||
:items="languages"
|
:items="languages"
|
||||||
:menu-props="{ auto: true }"
|
:menu-props="{ auto: true }"
|
||||||
:label="$t('profile.select_language')"
|
:label="$t('profile.select_language')"
|
||||||
v-on:change="$store.commit('setLanguage', $i18n.locale)"
|
@update:model-value="(lang) => updateLanguage(lang)"
|
||||||
hide-details
|
hide-details
|
||||||
prepend-icon="language"
|
prepend-icon="language"
|
||||||
single-line
|
single-line
|
||||||
|
|
@ -31,7 +31,7 @@
|
||||||
depressed
|
depressed
|
||||||
block
|
block
|
||||||
class="btn-dark"
|
class="btn-dark"
|
||||||
@click="$emit('close')"
|
@click="$emit('update:model-value', false)"
|
||||||
>{{ $t("menu.done") }}</v-btn
|
>{{ $t("menu.done") }}</v-btn
|
||||||
>
|
>
|
||||||
</v-card-actions>
|
</v-card-actions>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue