@copart/ops-tool-kit 1.11.2-alpha.1 → 1.11.3-alpha.1
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 +6 -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.11.
|
|
36
|
+
const version$5 = "1.11.3-alpha.1";
|
|
37
37
|
const main$1 = "dist/ops-tool-kit.js";
|
|
38
38
|
const style = "dist/ops-tool-kit.css";
|
|
39
39
|
const files = [
|
|
@@ -48521,7 +48521,8 @@ var NavigationMenu = function NavigationMenu(_ref3) {
|
|
|
48521
48521
|
if (!process.env.IS_CORE_APP) {
|
|
48522
48522
|
splitUrl.shift();
|
|
48523
48523
|
}
|
|
48524
|
-
if (splitUrl.length - 1 === configDepth) {
|
|
48524
|
+
// if (splitUrl.length - 1 === configDepth) {
|
|
48525
|
+
if (splitUrl.length - 1) {
|
|
48525
48526
|
if (configDepth === 3) {
|
|
48526
48527
|
setActiveSubmenu("/" + splitUrl[1] + "/" + splitUrl[2]);
|
|
48527
48528
|
setSelected("/" + splitUrl[1] + "/" + splitUrl[2] + "/" + splitUrl[3]);
|
|
@@ -48531,6 +48532,9 @@ var NavigationMenu = function NavigationMenu(_ref3) {
|
|
|
48531
48532
|
} else {
|
|
48532
48533
|
setSelected("/" + splitUrl[1]);
|
|
48533
48534
|
}
|
|
48535
|
+
} else {
|
|
48536
|
+
setActiveSubmenu(null);
|
|
48537
|
+
setSelected(null);
|
|
48534
48538
|
}
|
|
48535
48539
|
}
|
|
48536
48540
|
}, [configDepth, redirectUrl]);
|