Browse Source

MINOR,FIX: lookup for existing key in object

dev-feat-component_preview
chris 2 months ago
parent
commit
d578a56269
  1. 2
      src/generators/generator.js

2
src/generators/generator.js

@ -58,7 +58,7 @@ class CompelGenerator {
*/ */
let curExtStore = extStore; let curExtStore = extStore;
if (Object.hasOwn(ssd, "_extStore") && ssd._extStore) { if (ssd.hasOwnProperty("_extStore") && ssd._extStore) {
curExtStore = ssd._extStore.setupForGeneralStyling(); curExtStore = ssd._extStore.setupForGeneralStyling();
} }

Loading…
Cancel
Save