@pega/custom-dx-components 24.2.15 → 24.2.16

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pega/custom-dx-components",
3
- "version": "24.2.15",
3
+ "version": "24.2.16",
4
4
  "description": "Utility for building custom UI components",
5
5
  "bin": "./bin/index.js",
6
6
  "scripts": {
@@ -101,7 +101,7 @@
101
101
  },
102
102
  "devDependencies": {
103
103
  "@pega/configs": "^0.15.1",
104
- "@pega/custom-dx-components": "~24.2.15",
104
+ "@pega/custom-dx-components": "~24.2.16",
105
105
  "@pega/pcore-pconnect-typedefs": "3.2.1",
106
106
  "@storybook/addon-actions": "^7.6.19",
107
107
  "@storybook/addon-essentials": "^7.6.19",
package/src/util.js CHANGED
@@ -850,8 +850,11 @@ if (showDebug) addDebugLog("getPegaServerConfig", "", "+");
850
850
 
851
851
  if (OAuthData) {
852
852
  const oOAuthData = JSON.parse(OAuthData);
853
- const isolationId = oOAuthData["isolation-ids"].write;
854
- pegaConfig['server-config'].isolationId = isolationId[0];
853
+ if (oOAuthData["isolation-ids"]) {
854
+ const isolationId = oOAuthData["isolation-ids"].write;
855
+ pegaConfig['server-config'].isolationId = isolationId[0];
856
+ }
857
+
855
858
  }
856
859
 
857
860
  }