Skip to content

Commit 83407b4

Browse files
Saad Yousafsaadyousafarbi
Saad Yousaf
authored andcommitted
feat: add icon for course update notification
1 parent 7636422 commit 83407b4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Notifications/utils.js

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import {
77
PostOutline,
88
Report,
99
Verified,
10+
Newspaper,
1011
} from '@openedx/paragon/icons';
1112

1213
export const splitNotificationsByTime = (notificationList) => {
@@ -42,6 +43,7 @@ export const getIconByType = (type) => {
4243
content_reported: { icon: Report, class: 'text-danger' },
4344
response_endorsed: { icon: Verified, class: 'text-primary-500' },
4445
response_endorsed_on_thread: { icon: Verified, class: 'text-primary-500' },
46+
course_update: { icon: Newspaper, class: 'text-primary-500' },
4547
};
4648
return iconMap[type] || { icon: PostOutline, class: 'text-primary-500' };
4749
};

0 commit comments

Comments
 (0)