@pega/angular-sdk-overrides 0.23.5 → 23.1.10

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.
@@ -680,10 +680,12 @@ export const readContextResponse = async (context, params) => {
680
680
  const dataViewName = PCore.getDataTypeUtils().getSavableDataPage(classID);
681
681
  const dataPageKeys = PCore.getDataTypeUtils().getDataPageKeys(dataViewName);
682
682
  dataPageKeys?.forEach(item => (item.isAlternateKeyStorage ? compositeKeys.push(item.linkedField) : compositeKeys.push(item.keyName)));
683
- if (compositeKeys.length) {
683
+ if (compositeKeys.length && otherContext) {
684
684
  otherContext.setCompositeKeys(compositeKeys);
685
685
  }
686
- otherContext.fetchRowActionDetails = null;
686
+ if (otherContext) {
687
+ otherContext.fetchRowActionDetails = null;
688
+ }
687
689
  }
688
690
 
689
691
  const presetArray = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pega/angular-sdk-overrides",
3
- "version": "0.23.5",
3
+ "version": "23.1.10",
4
4
  "description": "Angular SDK - Code for overriding components",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"