Remove faulty default value

Fixes #1210.
This commit is contained in:
Franz Liedke 2017-07-27 00:55:33 +02:00
parent 0e4fae028b
commit c7767e45b5
2 changed files with 2 additions and 2 deletions

View File

@ -18060,7 +18060,7 @@ System.register('flarum/components/BasicsPage', ['flarum/components/Page', 'flar
var settings = app.data.settings;
this.fields.forEach(function (key) {
return _this2.values[key] = m.prop(settings[key] || false);
return _this2.values[key] = m.prop(settings[key]);
});
this.localeOptions = {};

View File

@ -25,7 +25,7 @@ export default class BasicsPage extends Page {
this.values = {};
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 = {};
const locales = app.data.locales;