mirror of
https://github.com/flarum/core.git
synced 2025-08-06 08:27:42 +02:00
Add missing super.init calls
This commit is contained in:
4
js/admin/dist/app.js
vendored
4
js/admin/dist/app.js
vendored
@@ -17749,6 +17749,8 @@ System.register('flarum/components/AppearancePage', ['flarum/components/Page', '
|
||||
babelHelpers.createClass(AppearancePage, [{
|
||||
key: 'init',
|
||||
value: function init() {
|
||||
babelHelpers.get(Object.getPrototypeOf(AppearancePage.prototype), 'init', this).call(this);
|
||||
|
||||
this.primaryColor = m.prop(app.settings.theme_primary_color);
|
||||
this.secondaryColor = m.prop(app.settings.theme_secondary_color);
|
||||
this.darkMode = m.prop(app.settings.theme_dark_mode === '1');
|
||||
@@ -17958,6 +17960,8 @@ System.register('flarum/components/BasicsPage', ['flarum/components/Page', 'flar
|
||||
value: function init() {
|
||||
var _this = this;
|
||||
|
||||
babelHelpers.get(Object.getPrototypeOf(BasicsPage.prototype), 'init', this).call(this);
|
||||
|
||||
this.loading = false;
|
||||
|
||||
this.fields = ['forum_title', 'forum_description', 'default_locale', 'default_route', 'welcome_title', 'welcome_message'];
|
||||
|
Reference in New Issue
Block a user