l-min-components 1.7.1482 → 1.7.1483

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.7.1482",
3
+ "version": "1.7.1483",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "src/assets",
@@ -94,9 +94,16 @@ export const leftNavMenu = [
94
94
  export const getLeftRoutes = (accoutType) => {
95
95
  const leftNavMenu = [
96
96
  {
97
- path: window.location.hostname.includes("ca")
98
- ? `https://www.learngual.ca/${accoutType}`
99
- : `https://www.learngual.com/${accoutType}`,
97
+ path: `${
98
+ window.location.hostname.includes("localhost") ||
99
+ window.location.hostname.includes("staging")
100
+ ? `https://559staging.learngual.${
101
+ window.location.hostname.includes(".ca") ? "ca" : "com"
102
+ }/${accoutType}`
103
+ : `https://www.learngual.${
104
+ window.location.hostname.includes(".ca") ? "ca" : "com"
105
+ }/${accoutType}`
106
+ }`,
100
107
  label: "Learning",
101
108
  icon: <Learning />,
102
109
  },