@crystaldesign/diva-archive 24.9.1 → 24.10.0-beta.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.
@@ -1276,8 +1276,8 @@ var Archive = function Archive(_ref2) {
1276
1276
  var hasParentWithCrossOrg = false;
1277
1277
  for (var i = 0; i < ((_parentOrganizations$ = parentOrganizations === null || parentOrganizations === void 0 ? void 0 : parentOrganizations.length) !== null && _parentOrganizations$ !== void 0 ? _parentOrganizations$ : 0); i++) {
1278
1278
  var _parentOrganizations$;
1279
- if (parentOrganizations[i].crossOrganizations !== undefined) {
1280
- hasParentWithCrossOrg = parentOrganizations[i].crossOrganizations;
1279
+ if (parentOrganizations[i].crossOrganizationSetting !== undefined) {
1280
+ hasParentWithCrossOrg = !!parentOrganizations[i].crossOrganizationSetting && parentOrganizations[i].crossOrganizationSetting !== 'NO';
1281
1281
  break;
1282
1282
  }
1283
1283
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crystaldesign/diva-archive",
3
- "version": "24.9.1",
3
+ "version": "24.10.0-beta.10",
4
4
  "license": "COMMERCIAL",
5
5
  "devDependencies": {
6
6
  "@testing-library/jest-dom": "^5.15.0",
@@ -23,5 +23,5 @@
23
23
  },
24
24
  "module": "build/esm/index.js",
25
25
  "types": "./build/types/archive/src/index.d.ts",
26
- "gitHead": "d89ae004d0648211246e9b65663a4d19a151aca5"
26
+ "gitHead": "5379b713e41f91c177abdfc31041006c51f73d4e"
27
27
  }