From 94f83ef6e1da8290c33457784548997e8a141590 Mon Sep 17 00:00:00 2001 From: Artur Arseniev Date: Wed, 13 Apr 2022 14:34:18 +0200 Subject: [PATCH] Update config getter --- src/editor/model/Editor.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/editor/model/Editor.js b/src/editor/model/Editor.js index b28e1818c..965721adc 100644 --- a/src/editor/model/Editor.js +++ b/src/editor/model/Editor.js @@ -67,7 +67,7 @@ export default class EditorModel extends Model { } initialize(conf = {}) { - this.config = conf; + this._config = conf; const { config } = this; this.set('Config', config); this.set('modules', []); @@ -128,7 +128,7 @@ export default class EditorModel extends Model { } get config() { - return this.config; + return this._config; } /**