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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "l-min-components",
3
- "version": "1.0.331",
3
+ "version": "1.0.334",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "src/assets",
@@ -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/${path}`;
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
  }
@@ -91,6 +91,7 @@ export const TextContainer = styled.div`
91
91
  font-size: 16px;
92
92
  letter-spacing: 0.32px;
93
93
  font-weight: 600;
94
+ color: inherit;
94
95
  `;
95
96
 
96
97
  export const NotificationCount = styled.div`
@@ -137,7 +137,7 @@ export const sideMenuOptions = [
137
137
  text: "Courses",
138
138
  },
139
139
  {
140
- path: "/enterprise/manage-teams/index",
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/index",
152
+ path: "/enterprise/announcements",
153
153
  icon: <AnnouncementsIcon />,
154
154
  iconActive: <AnnouncementsIconActive />,
155
155
  text: "Announcements",