mirror of
https://github.com/flarum/framework.git
synced 2024-12-11 21:43:38 +08:00
Merge pull request #1172 from tpokorra/fixDefaultLanguageSelection
Admin: fix default language selector
This commit is contained in:
commit
b04f28dbd9
1
framework/core/js/admin/dist/app.js
vendored
1
framework/core/js/admin/dist/app.js
vendored
|
@ -18103,6 +18103,7 @@ System.register('flarum/components/BasicsPage', ['flarum/components/Page', 'flar
|
||||||
label: app.translator.trans('core.admin.basics.default_language_heading'),
|
label: app.translator.trans('core.admin.basics.default_language_heading'),
|
||||||
children: [Select.component({
|
children: [Select.component({
|
||||||
options: this.localeOptions,
|
options: this.localeOptions,
|
||||||
|
value: this.values.default_locale(),
|
||||||
onchange: this.values.default_locale
|
onchange: this.values.default_locale
|
||||||
})]
|
})]
|
||||||
}) : '',
|
}) : '',
|
||||||
|
|
|
@ -64,6 +64,7 @@ export default class BasicsPage extends Page {
|
||||||
children: [
|
children: [
|
||||||
Select.component({
|
Select.component({
|
||||||
options: this.localeOptions,
|
options: this.localeOptions,
|
||||||
|
value: this.values.default_locale(),
|
||||||
onchange: this.values.default_locale
|
onchange: this.values.default_locale
|
||||||
})
|
})
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user