@copart/ops-tool-kit 1.10.8 → 1.10.9
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/ops-tool-kit.js +2 -2
- package/dist/ops-tool-kit.js.map +1 -1
- package/package.json +1 -1
package/dist/ops-tool-kit.js
CHANGED
|
@@ -33,7 +33,7 @@ var ReactDOM__namespace = /*#__PURE__*/_interopNamespace(ReactDOM);
|
|
|
33
33
|
var ReactDOM__default = /*#__PURE__*/_interopDefaultLegacy(ReactDOM);
|
|
34
34
|
|
|
35
35
|
const name$f = "@copart/ops-tool-kit";
|
|
36
|
-
const version$5 = "1.10.
|
|
36
|
+
const version$5 = "1.10.9";
|
|
37
37
|
const main$1 = "dist/ops-tool-kit.js";
|
|
38
38
|
const style = "dist/ops-tool-kit.css";
|
|
39
39
|
const files = [
|
|
@@ -21479,7 +21479,7 @@ var hierarchies = {
|
|
|
21479
21479
|
|
|
21480
21480
|
var getHierarchyDetails = function getHierarchyDetails(hierarchyId) {
|
|
21481
21481
|
var hierarchy = hierarchies[hierarchyId.toString()];
|
|
21482
|
-
var isHierarchyFromCurrentCountry = hierarchy.countryCode === storage.getSessionItem('dashboard', 'selectedCountryA3code');
|
|
21482
|
+
var isHierarchyFromCurrentCountry = hierarchy && hierarchy.countryCode === storage.getSessionItem('dashboard', 'selectedCountryA3code');
|
|
21483
21483
|
return isHierarchyFromCurrentCountry ? {
|
|
21484
21484
|
id: hierarchy.hierarchyId,
|
|
21485
21485
|
level: hierarchy.levelName,
|