l-min-components 1.0.331 → 1.0.334
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/package.json
CHANGED
|
@@ -106,8 +106,7 @@ const SideMenu = ({
|
|
|
106
106
|
return (statusText = true);
|
|
107
107
|
}
|
|
108
108
|
if (
|
|
109
|
-
window.location.pathname.includes("/enterprise/reports")
|
|
110
|
-
path === "/enterprise/reports/"
|
|
109
|
+
window.location.pathname.includes("/enterprise/reports")
|
|
111
110
|
) {
|
|
112
111
|
return (statusText = true);
|
|
113
112
|
}
|
|
@@ -217,7 +216,7 @@ const SideMenu = ({
|
|
|
217
216
|
if (
|
|
218
217
|
window.location.hostname.includes("staging")
|
|
219
218
|
) {
|
|
220
|
-
window.location.href = `https://559staging.learngual.com
|
|
219
|
+
window.location.href = `https://559staging.learngual.com${path}`;
|
|
221
220
|
} else if (window.location.hostname.includes("localhost")) {
|
|
222
221
|
window.location.href = `http://localhost:${window.location.port}${path}`;
|
|
223
222
|
}
|
|
@@ -137,7 +137,7 @@ export const sideMenuOptions = [
|
|
|
137
137
|
text: "Courses",
|
|
138
138
|
},
|
|
139
139
|
{
|
|
140
|
-
path: "/enterprise/manage-teams
|
|
140
|
+
path: "/enterprise/manage-teams",
|
|
141
141
|
icon: <TeamsIcon />,
|
|
142
142
|
iconActive: <TeamsIconActive />,
|
|
143
143
|
text: "Manage Teams",
|
|
@@ -149,7 +149,7 @@ export const sideMenuOptions = [
|
|
|
149
149
|
text: "Messages",
|
|
150
150
|
},
|
|
151
151
|
{
|
|
152
|
-
path: "/enterprise/announcements
|
|
152
|
+
path: "/enterprise/announcements",
|
|
153
153
|
icon: <AnnouncementsIcon />,
|
|
154
154
|
iconActive: <AnnouncementsIconActive />,
|
|
155
155
|
text: "Announcements",
|