From 83f3241e2664a5529d328f8329171234613f357a Mon Sep 17 00:00:00 2001 From: Muhammad Adeel Tajamul <77053848+muhammadadeeltajamul@users.noreply.github.com> Date: Fri, 14 Jul 2023 08:53:02 +0500 Subject: [PATCH] fix: course name was not visible in notification (#371) --- src/Notifications/NotificationSections.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Notifications/NotificationSections.jsx b/src/Notifications/NotificationSections.jsx index 37d081e..864fcbf 100644 --- a/src/Notifications/NotificationSections.jsx +++ b/src/Notifications/NotificationSections.jsx @@ -60,7 +60,7 @@ const NotificationSections = () => { type={notification.type} contentUrl={notification.contentUrl} content={notification.content} - courseName={notification.courseName} + courseName={notification.contentContext?.courseName || ''} createdAt={notification.createdAt} lastRead={notification.lastRead} />