@copart/ops-tool-kit 1.10.12 → 1.10.13
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 +8 -5
- 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.13";
|
|
37
37
|
const main$1 = "dist/ops-tool-kit.js";
|
|
38
38
|
const style = "dist/ops-tool-kit.css";
|
|
39
39
|
const files = [
|
|
@@ -11211,21 +11211,24 @@ function () {
|
|
|
11211
11211
|
|
|
11212
11212
|
var scopeInfo = scope === null || scope === void 0 ? void 0 : scope.split('|');
|
|
11213
11213
|
var hierarchyList = (_scopeInfo$ = scopeInfo[2]) === null || _scopeInfo$ === void 0 ? void 0 : _scopeInfo$.split(':');
|
|
11214
|
-
|
|
11214
|
+
console.log('hierarchyList--> ', hierarchyList, hierarchies);
|
|
11215
|
+
var hierarchiesWithDetails = hierarchyList.map(function (hierarchy) {
|
|
11215
11216
|
return getHierarchyDetails(hierarchies, Number(hierarchy));
|
|
11216
11217
|
});
|
|
11218
|
+
console.log('hierarchiesWithDetails--> ', hierarchiesWithDetails);
|
|
11217
11219
|
|
|
11218
|
-
if (
|
|
11220
|
+
if (hierarchiesWithDetails.length > 0) {
|
|
11219
11221
|
filteredScopeList.push({
|
|
11220
11222
|
appName: scopeInfo[0],
|
|
11221
11223
|
scopeName: scopeInfo[1],
|
|
11222
|
-
hierarchies:
|
|
11224
|
+
hierarchies: hierarchiesWithDetails
|
|
11223
11225
|
});
|
|
11224
11226
|
}
|
|
11225
11227
|
});
|
|
11228
|
+
console.log('filteredScopeList -->', filteredScopeList);
|
|
11226
11229
|
return _context.abrupt("return", filteredScopeList);
|
|
11227
11230
|
|
|
11228
|
-
case
|
|
11231
|
+
case 19:
|
|
11229
11232
|
case "end":
|
|
11230
11233
|
return _context.stop();
|
|
11231
11234
|
}
|