1
0
mirror of https://github.com/flarum/core.git synced 2025-07-19 07:41:22 +02:00

Merge pull request #1172 from tpokorra/fixDefaultLanguageSelection

Admin: fix default language selector
This commit is contained in:
Franz Liedke
2017-05-02 08:37:32 +02:00
committed by GitHub
2 changed files with 2 additions and 0 deletions

View File

@@ -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
})]
}) : '',

View File

@@ -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
})
]