#85773 inteface language select element and onload automatic language selection disabled
This commit is contained in:
parent
538c556d1b
commit
adfb63736d
|
@ -33,7 +33,7 @@ THE SOFTWARE.
|
||||||
<template #header>
|
<template #header>
|
||||||
</template>
|
</template>
|
||||||
<template #buttons>
|
<template #buttons>
|
||||||
<VueSelect v-model="lang"
|
<!-- <VueSelect v-model="lang"
|
||||||
:options="i18nPacks"
|
:options="i18nPacks"
|
||||||
:clearable="false"
|
:clearable="false"
|
||||||
:reduce="s => s.value"
|
:reduce="s => s.value"
|
||||||
|
@ -46,7 +46,7 @@ THE SOFTWARE.
|
||||||
<span>{{ label }}</span>
|
<span>{{ label }}</span>
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
</VueSelect>
|
</VueSelect> -->
|
||||||
<a v-if="splitColumn" class="button is-primary is-outline is-hidden-touch" @click="splitColumnToggle">
|
<a v-if="splitColumn" class="button is-primary is-outline is-hidden-touch" @click="splitColumnToggle">
|
||||||
{{ $t('templates.app.singleColumnMode') }}
|
{{ $t('templates.app.singleColumnMode') }}
|
||||||
</a>
|
</a>
|
||||||
|
@ -259,10 +259,10 @@ THE SOFTWARE.
|
||||||
const imported = await importData(query, this.$data.domains, this.$data.global, this.$nextTick);
|
const imported = await importData(query, this.$data.domains, this.$data.global, this.$nextTick);
|
||||||
|
|
||||||
// Apply browser language if not specified in query
|
// Apply browser language if not specified in query
|
||||||
if (!imported || !imported.global || !imported.global.app || !imported.global.app.lang) {
|
// if (!imported || !imported.global || !imported.global.app || !imported.global.app.lang) {
|
||||||
const language = browserLanguage(availablePacks);
|
// const language = browserLanguage(availablePacks);
|
||||||
if (language) this.lang = language;
|
// if (language) this.lang = language;
|
||||||
}
|
// }
|
||||||
|
|
||||||
// Initial analytics events
|
// Initial analytics events
|
||||||
this.splitColumnEvent(true);
|
this.splitColumnEvent(true);
|
||||||
|
|
Loading…
Reference in New Issue