@copart/ops-tool-kit 1.10.14 → 1.10.15
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 +4 -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.15";
|
|
37
37
|
const main$1 = "dist/ops-tool-kit.js";
|
|
38
38
|
const style = "dist/ops-tool-kit.css";
|
|
39
39
|
const files = [
|
|
@@ -11160,8 +11160,10 @@ function () {
|
|
|
11160
11160
|
}();
|
|
11161
11161
|
|
|
11162
11162
|
var getHierarchyDetails = function getHierarchyDetails(hierarchies, hierarchyId) {
|
|
11163
|
-
var hierarchy = hierarchies[hierarchyId
|
|
11163
|
+
var hierarchy = hierarchies[hierarchyId];
|
|
11164
|
+
console.log('hierarchy --> ', hierarchy, hierarchyId);
|
|
11164
11165
|
var isHierarchyFromCurrentCountry = hierarchy && hierarchy.countryCode === storage.getSessionItem('dashboard', 'selectedCountryA3code');
|
|
11166
|
+
console.log('isHierarchyFromCurrentCountry --> ', isHierarchyFromCurrentCountry);
|
|
11165
11167
|
return isHierarchyFromCurrentCountry ? {
|
|
11166
11168
|
id: hierarchy.hierarchyId,
|
|
11167
11169
|
level: hierarchy.levelName,
|