mirror of
https://github.com/flarum/framework.git
synced 2024-12-02 15:03:44 +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'),
|
||||
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