mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 10:51:28 +08:00
Admin: fix default language selector
the binding of the control to the value was missing fixes #1164
This commit is contained in:
parent
c452fa43f3
commit
7c33befc48
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…
x
Reference in New Issue
Block a user