l-min-components 1.0.334 → 1.0.336
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
|
@@ -37,7 +37,7 @@ const AppMainLayout = () => {
|
|
|
37
37
|
useState(false);
|
|
38
38
|
const [sideMenuLayout, setSideMenuLayout] = useState(true);
|
|
39
39
|
const [defaultAcct, setDefaultAcct] = useState("");
|
|
40
|
-
|
|
40
|
+
let centerLayoutStyle = {};
|
|
41
41
|
|
|
42
42
|
useEffect(() => {
|
|
43
43
|
if (window.location.host.includes("coming")) {
|
|
@@ -79,8 +79,8 @@ const SideMenu = ({
|
|
|
79
79
|
return (statusText = true);
|
|
80
80
|
}
|
|
81
81
|
if (
|
|
82
|
-
window.location.pathname.includes("/personal/messages") &&
|
|
83
|
-
path === "/personal/messages"
|
|
82
|
+
window.location.pathname.includes("/msg/personal/messages") &&
|
|
83
|
+
path === "/msg/personal/messages"
|
|
84
84
|
) {
|
|
85
85
|
return (statusText = true);
|
|
86
86
|
}
|
|
@@ -117,8 +117,8 @@ const SideMenu = ({
|
|
|
117
117
|
return (statusText = true);
|
|
118
118
|
}
|
|
119
119
|
if (
|
|
120
|
-
window.location.pathname.includes("/enterprise/messages") &&
|
|
121
|
-
path === "/enterprise/messages"
|
|
120
|
+
window.location.pathname.includes("/msg/enterprise/messages") &&
|
|
121
|
+
path === "/msg/enterprise/messages"
|
|
122
122
|
) {
|
|
123
123
|
return (statusText = true);
|
|
124
124
|
}
|
|
@@ -168,8 +168,8 @@ const SideMenu = ({
|
|
|
168
168
|
return (statusText = true);
|
|
169
169
|
}
|
|
170
170
|
if (
|
|
171
|
-
window.location.pathname.includes("/instructor/messages") &&
|
|
172
|
-
path === "/instructor/messages"
|
|
171
|
+
window.location.pathname.includes("/msg/instructor/messages") &&
|
|
172
|
+
path === "/msg/instructor/messages"
|
|
173
173
|
) {
|
|
174
174
|
return (statusText = true);
|
|
175
175
|
}
|
|
@@ -143,7 +143,7 @@ export const sideMenuOptions = [
|
|
|
143
143
|
text: "Manage Teams",
|
|
144
144
|
},
|
|
145
145
|
{
|
|
146
|
-
path: "/enterprise/messages",
|
|
146
|
+
path: "/msg/enterprise/messages",
|
|
147
147
|
icon: <MessagesIcon />,
|
|
148
148
|
iconActive: <MessagesIconActive />,
|
|
149
149
|
text: "Messages",
|
|
@@ -190,7 +190,7 @@ export const sideMenuOptions = [
|
|
|
190
190
|
text: "Manage Student",
|
|
191
191
|
},
|
|
192
192
|
{
|
|
193
|
-
path: "/instructor/messages",
|
|
193
|
+
path: "/msg/instructor/messages",
|
|
194
194
|
icon: <MessagesIcon />,
|
|
195
195
|
iconActive: <MessagesIconActive />,
|
|
196
196
|
text: "Messages",
|
|
@@ -243,7 +243,7 @@ export const sideMenuOptions = [
|
|
|
243
243
|
text: "Reports",
|
|
244
244
|
},
|
|
245
245
|
{
|
|
246
|
-
path: "/personal/messages",
|
|
246
|
+
path: "/msg/personal/messages",
|
|
247
247
|
icon: <MessagesIcon />,
|
|
248
248
|
iconActive: <MessagesIconActive />,
|
|
249
249
|
text: "Messages",
|