Skip to content
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

Homerooms: Remove link if no active students #2591

Merged

Conversation

kevinrobinson
Copy link
Contributor

Follow-on to #2589, which used Authorizer#homerooms and filtered out homerooms with no active students. This leads to an edge case where an educator is assigned a homeroom with no active students having a link that doesn't work for them in the navbar. This removes the link in that case - it wouldn't have done anything anyway so this essentially hides stale data coming from the SIS.

@kevinrobinson
Copy link
Contributor Author

selfie

@kevinrobinson kevinrobinson merged commit f06f4fa into master Sep 5, 2019
@kevinrobinson kevinrobinson deleted the patch/remove-homeroom-link-if-no-active-students branch September 5, 2019 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant