From 24bc4eee5eb31cb10eaccd43d0c0bf2abec2fb75 Mon Sep 17 00:00:00 2001 From: Arif-tekdi-technologies Date: Thu, 5 Dec 2024 14:54:45 +0530 Subject: [PATCH] Issue #000 Bug: Course Planner fix for if no data, subject name is not visible. --- src/pages/course-planner/center/[cohortId].tsx | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/pages/course-planner/center/[cohortId].tsx b/src/pages/course-planner/center/[cohortId].tsx index 83911375..28d9960a 100644 --- a/src/pages/course-planner/center/[cohortId].tsx +++ b/src/pages/course-planner/center/[cohortId].tsx @@ -413,6 +413,16 @@ const CoursePlannerDetail = () => { transform: isRTL ? ' rotate(180deg)' : 'unset', }} /> + {!userProjectDetails?.tasks?.length && ( + + {tStore?.taxonomySubject} + + )} {userProjectDetails?.tasks?.length > 0 && ( <> @@ -461,7 +471,6 @@ const CoursePlannerDetail = () => { - { )) ) : ( {t('ASSESSMENTS.NO_DATA_FOUND')}