diff --git a/packages/frontend/components/Sidebar/SectionRequirement.tsx b/packages/frontend/components/Sidebar/SectionRequirement.tsx index ff71fd6c..b7976077 100644 --- a/packages/frontend/components/Sidebar/SectionRequirement.tsx +++ b/packages/frontend/components/Sidebar/SectionRequirement.tsx @@ -55,9 +55,9 @@ const SectionRequirement: React.FC = ({ coursesTaken.forEach((course) => { if ( requirement.type === "COURSE" && - course.classId === requirement.classId.toString() + course.classId === requirement.classId.toString() && + course.subject === requirement.subject ) { - console.log("This is true"); isTrue = true; } });