Browse Source

FIX: setFunctionsExtStorage setting property

method set property _styleExtStore instead of _functionsExtStore
dev-feat-component_preview
chris 2 months ago
parent
commit
e495aa72ad
  1. 6
      src/component/addStyleAndFunctions.js

6
src/component/addStyleAndFunctions.js

@ -146,11 +146,11 @@ class StyleAndScriptStoringComponent extends ModifiableComponent {
setFunctionsStorage(extStore) {
if (extStore) {
if (extStore instanceof ExtStorage) {
this._stylesExtStore = extStore;
this._functionsExtStore = extStore;
} else if (extStore instanceof ExtStoreType) {
this._stylesExtStore.setExtStoreType(extStore);
this._functionsExtStore.setExtStoreType(extStore);
} else {
this._stylesExtStore.OverwriteBehaviour(extStore);
this._functionsExtStore.OverwriteBehaviour(extStore);
}
this._isFunESDefault = false;
} else {

Loading…
Cancel
Save