mirror of
https://github.com/flarum/core.git
synced 2025-08-06 08:27:42 +02:00
2
framework/core/js/admin/dist/app.js
vendored
2
framework/core/js/admin/dist/app.js
vendored
@@ -18060,7 +18060,7 @@ System.register('flarum/components/BasicsPage', ['flarum/components/Page', 'flar
|
|||||||
|
|
||||||
var settings = app.data.settings;
|
var settings = app.data.settings;
|
||||||
this.fields.forEach(function (key) {
|
this.fields.forEach(function (key) {
|
||||||
return _this2.values[key] = m.prop(settings[key] || false);
|
return _this2.values[key] = m.prop(settings[key]);
|
||||||
});
|
});
|
||||||
|
|
||||||
this.localeOptions = {};
|
this.localeOptions = {};
|
||||||
|
@@ -25,7 +25,7 @@ export default class BasicsPage extends Page {
|
|||||||
this.values = {};
|
this.values = {};
|
||||||
|
|
||||||
const settings = app.data.settings;
|
const settings = app.data.settings;
|
||||||
this.fields.forEach(key => this.values[key] = m.prop(settings[key] || false));
|
this.fields.forEach(key => this.values[key] = m.prop(settings[key]));
|
||||||
|
|
||||||
this.localeOptions = {};
|
this.localeOptions = {};
|
||||||
const locales = app.data.locales;
|
const locales = app.data.locales;
|
||||||
|
Reference in New Issue
Block a user