Browse Source

Update config getter

pull/4265/head
Artur Arseniev 5 years ago
parent
commit
94f83ef6e1
  1. 4
      src/editor/model/Editor.js

4
src/editor/model/Editor.js

@ -67,7 +67,7 @@ export default class EditorModel extends Model {
} }
initialize(conf = {}) { initialize(conf = {}) {
this.config = conf; this._config = conf;
const { config } = this; const { config } = this;
this.set('Config', config); this.set('Config', config);
this.set('modules', []); this.set('modules', []);
@ -128,7 +128,7 @@ export default class EditorModel extends Model {
} }
get config() { get config() {
return this.config; return this._config;
} }
/** /**

Loading…
Cancel
Save