jett.admin.npmpackage 2.0.0 → 2.0.2
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/index.js +7 -1
- package/dist/index.mjs +7 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -480,7 +480,7 @@ var navItemsConstant = [
|
|
|
480
480
|
}
|
|
481
481
|
},
|
|
482
482
|
{
|
|
483
|
-
label: "Tags (
|
|
483
|
+
label: "Tags (Custom Variables)",
|
|
484
484
|
onClick: () => {
|
|
485
485
|
window.location.href = "/orgselector/?path=tag";
|
|
486
486
|
}
|
|
@@ -875,6 +875,12 @@ var AppSideBar = ({
|
|
|
875
875
|
if (normalizedMenuPath === "/corporate" && normalizedCurrentPath.startsWith("/org/organizations")) {
|
|
876
876
|
return true;
|
|
877
877
|
}
|
|
878
|
+
if (normalizedMenuPath === "/supplier" && normalizedCurrentPath === "/orgselector") {
|
|
879
|
+
const currentPathParam = new URLSearchParams(currentSearch).get("path");
|
|
880
|
+
if (currentPathParam === "supplier-list") {
|
|
881
|
+
return true;
|
|
882
|
+
}
|
|
883
|
+
}
|
|
878
884
|
if (normalizedMenuPath === "/trips") {
|
|
879
885
|
if (normalizedCurrentPath.startsWith("/tripdetails") || normalizedCurrentPath.startsWith("/offline")) {
|
|
880
886
|
return true;
|
package/dist/index.mjs
CHANGED
|
@@ -446,7 +446,7 @@ var navItemsConstant = [
|
|
|
446
446
|
}
|
|
447
447
|
},
|
|
448
448
|
{
|
|
449
|
-
label: "Tags (
|
|
449
|
+
label: "Tags (Custom Variables)",
|
|
450
450
|
onClick: () => {
|
|
451
451
|
window.location.href = "/orgselector/?path=tag";
|
|
452
452
|
}
|
|
@@ -841,6 +841,12 @@ var AppSideBar = ({
|
|
|
841
841
|
if (normalizedMenuPath === "/corporate" && normalizedCurrentPath.startsWith("/org/organizations")) {
|
|
842
842
|
return true;
|
|
843
843
|
}
|
|
844
|
+
if (normalizedMenuPath === "/supplier" && normalizedCurrentPath === "/orgselector") {
|
|
845
|
+
const currentPathParam = new URLSearchParams(currentSearch).get("path");
|
|
846
|
+
if (currentPathParam === "supplier-list") {
|
|
847
|
+
return true;
|
|
848
|
+
}
|
|
849
|
+
}
|
|
844
850
|
if (normalizedMenuPath === "/trips") {
|
|
845
851
|
if (normalizedCurrentPath.startsWith("/tripdetails") || normalizedCurrentPath.startsWith("/offline")) {
|
|
846
852
|
return true;
|