@saasquatch/squatch-js 2.8.2-26 → 2.8.2-27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/squatch.js CHANGED
@@ -2443,7 +2443,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
2443
2443
  async connectedCallback() {
2444
2444
  this.loaded = true;
2445
2445
  this.container = this.getAttribute("container");
2446
- const brandingConfig = this.widgetConfig.values.brandingConfig;
2446
+ const brandingConfig = this.widgetConfig.values.brandingConfig || {};
2447
2447
  console.log("THIS IS THE BRANDING CONFIG", brandingConfig);
2448
2448
  const skeletonHTML = getSkeleton({ height: "100%" });
2449
2449
  const skeletonContainer = document.createElement("div");