From b1d88af8aa6de43c768b5f7a9264254384c37a83 Mon Sep 17 00:00:00 2001 From: ngupta Date: Sun, 26 Oct 2025 11:37:53 -0500 Subject: [PATCH] feat(calendar): add courseID --- src/views/components/calendar/CalendarCourseCell.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/components/calendar/CalendarCourseCell.tsx b/src/views/components/calendar/CalendarCourseCell.tsx index 00654eaa..22a8e92c 100644 --- a/src/views/components/calendar/CalendarCourseCell.tsx +++ b/src/views/components/calendar/CalendarCourseCell.tsx @@ -49,6 +49,7 @@ export default function CalendarCourseCell({ const { colors, uniqueId: courseID } = blockData.course; const { dayIndex, startIndex } = blockData.calendarGridPoint; + const [courseDepartment, courseInstructor] = courseDeptAndInstr.split('–').map(part => part.trim()); let selectedCourse = false; let selectedBlock = false; @@ -131,7 +132,7 @@ export default function CalendarCourseCell({ 'text-wrap': !timeAndLocation, })} > - {courseDeptAndInstr} + {courseDepartment}, {courseID} – {courseInstructor} {timeAndLocation && (