course conflict highlighting and calculations

This commit is contained in:
Sriram Hariharan
2023-03-22 22:16:51 -05:00
parent 882b5b4e00
commit 2ddfde2642
7 changed files with 54 additions and 8 deletions

View File

@@ -71,7 +71,7 @@ export default function CourseCatalogMain({ support }: Props) {
key={row.course.uniqueId}
row={row}
isSelected={row.course.uniqueId === selectedCourse?.uniqueId}
isInActiveSchedule={Boolean(activeSchedule?.containsCourse(row.course))}
activeSchedule={activeSchedule}
onClick={handleRowButtonClick(row.course)}
/>
);