mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-27 16:54:04 +00:00
Fix that localeSelector hides/shows on config change
This commit is contained in:
parent
b75580003f
commit
836199dea5
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@
|
||||||
<Editable v-model="config.title" class="title" tag="span" :contenteditable="editMode" :noNL="true" />
|
<Editable v-model="config.title" class="title" tag="span" :contenteditable="editMode" :noNL="true" />
|
||||||
|
|
||||||
<!-- Locale Selector -->
|
<!-- Locale Selector -->
|
||||||
<span class="language-selector">
|
<span class="language-selector" v-if="config.showLocaleSelector">
|
||||||
<select v-model="$root.language" class="form-select">
|
<select v-model="$root.language" class="form-select">
|
||||||
<option v-for="locale in $i18n.availableLocales" :key="locale" :value="locale" :text="$i18n.messages[locale].languageName"></option>
|
<option v-for="locale in $i18n.availableLocales" :key="locale" :value="locale" :text="$i18n.messages[locale].languageName"></option>
|
||||||
</select>
|
</select>
|
||||||
|
|
Loading…
Reference in a new issue