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

Fix admin labs UI bug #22

Merged
merged 2 commits into from
Aug 13, 2024
Merged

Fix admin labs UI bug #22

merged 2 commits into from
Aug 13, 2024

Conversation

VeeIsForVanana
Copy link
Collaborator

This PR fixes the bug in the Lab UI for the admin dashboard that would show all selected students for all labs without filtering, thus showing all labs. To fix it, we simply reassign selected to be selected but filtered on lab_ids.

This also fixes a minor bug for lab name highlighting where instead of checking for quota < # of selected, we check for quota !== # of selected which is not intended.

Copy link
Owner

@BastiDood BastiDood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! I love how simple the fix was. LGTM! 🚀

@BastiDood BastiDood merged commit facd164 into main Aug 13, 2024
1 check passed
@BastiDood BastiDood deleted the fix-admin-labs-ui-bug branch August 13, 2024 06:49
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.

2 participants