-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Coops fulfill Integrated Experience NUPath #747
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -4,6 +4,7 @@ import { | |||
MajorValidationResult, | |||
PlanModel, | |||
ScheduleCourse2, | |||
StatusEnum, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make sure to remove this
@@ -49,6 +49,14 @@ const NUPathSection: React.FC<NUPathSectionProps> = ({ | |||
const nupathMap: Record<string, number> = {}; | |||
|
|||
for (const course of coursesTaken) { | |||
// Check if the course is a COOP, if it is, check off the Integration Experience | |||
if ( | |||
course.name === COOP_BLOCK.name && |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is a good idea and it makes sense since COOP_BLOCK is a special case, but is there any way to update the structure of the COOP_BLOCK object itself to make it work?
OH! also make sure to change the branch name to make it relevant LOL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, feel free to merge!
Description
Added an if statement where courses are assigned their NUPaths and made sure to check that if a course was a co-op, then the EX NUPath was fulfilled.
Closes # (742)
Type of change
Please tick the boxes that best match your changes.
yarn install
yarn dev:migration:run
How Has This Been Tested?
Dragging a co-op block onto the degree planner and making sure it gives the correct nupath
Checklist: