File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,7 +2,12 @@ import { useEffect } from 'react';
22
33import { getConfig } from '@edx/frontend-platform' ;
44import { logError } from '@edx/frontend-platform/logging' ;
5- import { QuestionAnswerOutline , PostOutline } from '@edx/paragon/icons' ;
5+ import {
6+ QuestionAnswerOutline ,
7+ PostOutline ,
8+ Report ,
9+ Verified ,
10+ } from '@edx/paragon/icons' ;
611
712export const splitNotificationsByTime = ( notificationList ) => {
813 let splittedData = [ ] ;
@@ -34,6 +39,9 @@ export const getIconByType = (type) => {
3439 new_response : { icon : QuestionAnswerOutline , class : 'text-primary-500' } ,
3540 new_comment : { icon : QuestionAnswerOutline , class : 'text-primary-500' } ,
3641 new_comment_on_response : { icon : QuestionAnswerOutline , class : 'text-primary-500' } ,
42+ content_reported : { icon : Report , class : 'text-danger' } ,
43+ response_endorsed : { icon : Verified , class : 'text-primary-500' } ,
44+ response_endorsed_on_thread : { icon : Verified , class : 'text-primary-500' } ,
3745 } ;
3846 return iconMap [ type ] || { icon : PostOutline , class : 'text-primary-500' } ;
3947} ;
You can’t perform that action at this time.
0 commit comments