mirror of
https://github.com/flarum/framework.git
synced 2024-11-28 20:16:08 +08:00
Merge pull request #1172 from tpokorra/fixDefaultLanguageSelection
Admin: fix default language selector
This commit is contained in:
commit
b5db57156b
1
js/admin/dist/app.js
vendored
1
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'),
|
||||
children: [Select.component({
|
||||
options: this.localeOptions,
|
||||
value: this.values.default_locale(),
|
||||
onchange: this.values.default_locale
|
||||
})]
|
||||
}) : '',
|
||||
|
|
|
@ -64,6 +64,7 @@ export default class BasicsPage extends Page {
|
|||
children: [
|
||||
Select.component({
|
||||
options: this.localeOptions,
|
||||
value: this.values.default_locale(),
|
||||
onchange: this.values.default_locale
|
||||
})
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue
Block a user