l-min-components 1.0.1108 → 1.0.1115

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.1108",
3
+ "version": "1.0.1115",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "src/assets",
@@ -70,6 +70,7 @@ const HeaderComponent = (props) => {
70
70
  updateUserAccountData,
71
71
  handleUpdateUserAccount,
72
72
  handleGetUnreadNotificationPersonal,
73
+ handleGeneralNotificationCountPersonal
73
74
  } = useHeader();
74
75
  const { pathname } = useLocation();
75
76
  const { setGeneralData, generalData, notificationMarkReadData } =
@@ -119,7 +120,13 @@ const HeaderComponent = (props) => {
119
120
  );
120
121
 
121
122
  useEffect(() => {
122
- if (accountType) handleGeneralNotificationCount(accountType);
123
+ if (accountType && accountType !== "personal") {
124
+ handleGeneralNotificationCount(accountType);
125
+ }
126
+
127
+ if (accountType && accountType === "personal") {
128
+ handleGeneralNotificationCountPersonal()
129
+ }
123
130
  }, [accountType]);
124
131
 
125
132
  useEffect(() => {
@@ -70,7 +70,7 @@ const ChatHeader = ({
70
70
 
71
71
  {chatRecipient?.type === "PERSONAL" && (
72
72
  <div className="friend-tag">
73
- <HiUser /> Friend
73
+ <HiUser /> Student
74
74
  </div>
75
75
  )}
76
76
  {chatRecipient?.type === "INSTRUCTOR" && (
@@ -793,6 +793,7 @@ export const MessageBox = styled.div`
793
793
  h6 {
794
794
  font-size: 14px;
795
795
  font-weight: 400;
796
+ color: #ffffff;
796
797
  /* padding-top: 6px; */
797
798
  }
798
799
 
@@ -136,7 +136,7 @@ export const sideMenuOptions = [
136
136
  path: "/enterprise/manage-teams",
137
137
  icon: <TeamsIcon />,
138
138
  iconActive: <TeamsIconActive />,
139
- text: "Manage Teams",
139
+ text: "Manage teams",
140
140
  },
141
141
  {
142
142
  path: "/msg/enterprise/messages",
@@ -154,7 +154,7 @@ export const sideMenuOptions = [
154
154
  path: "/enterprise/file-manager",
155
155
  icon: <FileManagerIcon />,
156
156
  iconActive: <FileManagerIconActive />,
157
- text: "File Manager",
157
+ text: "File manager",
158
158
  },
159
159
  ],
160
160
  },
@@ -171,19 +171,19 @@ export const sideMenuOptions = [
171
171
  path: "/instructor/reports",
172
172
  icon: <AwardIcon />,
173
173
  iconActive: <AwardIconActive />,
174
- text: "Manage Report",
174
+ text: "Manage report",
175
175
  },
176
176
  {
177
177
  path: "/instructor/courses",
178
178
  icon: <CoursesIcon />,
179
179
  iconActive: <CoursesIconActive />,
180
- text: "Manage Courses",
180
+ text: "Manage courses",
181
181
  },
182
182
  {
183
183
  path: "/instructor/manage-students",
184
184
  icon: <ManageStudentsIcon />,
185
185
  iconActive: <ManageStudentsIconActive />,
186
- text: "Manage Student",
186
+ text: "Manage student",
187
187
  },
188
188
  {
189
189
  path: "/msg/instructor/messages",
@@ -208,7 +208,7 @@ export const sideMenuOptions = [
208
208
  path: "/instructor/file-manager",
209
209
  icon: <FileManagerIcon />,
210
210
  iconActive: <FileManagerIconActive />,
211
- text: "File Manager",
211
+ text: "File manager",
212
212
  },
213
213
  ],
214
214
  },
@@ -231,7 +231,7 @@ export const sideMenuOptions = [
231
231
  path: "/personal/courses",
232
232
  icon: <CoursesIcon />,
233
233
  iconActive: <CoursesIconActive />,
234
- text: "My Courses",
234
+ text: "My courses",
235
235
  },
236
236
  {
237
237
  path: "/personal/reports",