Code review feedback: Simplify things
Code review feedback: Simplify things

Factoring out some common logic between semesters/departments into utility functions to shorten things and generally make them less susceptible to error.

Brightspace/d2l-my-courses-ui