Skip to content

Fix invalid grade category when switching courses#215

Open
simplyrohan wants to merge 1 commit into
PurelyAnecdotal:mainfrom
simplyrohan:main
Open

Fix invalid grade category when switching courses#215
simplyrohan wants to merge 1 commit into
PurelyAnecdotal:mainfrom
simplyrohan:main

Conversation

@simplyrohan
Copy link
Copy Markdown

@simplyrohan simplyrohan commented May 4, 2026

If you switch courses while you have a grade category selected, that grade category doesn't update and if the new course doesn't have a category under the same name (which is very likely) then an invalid tab is selected no assignments are shown. This PR fixes that by ensuring any category selection is valid when the course or category selection updates and defaults to "all" if invalid.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 4, 2026

@simplyrohan is attempting to deploy a commit to the nonexistentname's projects Team on Vercel.

A member of the Team first needs to authorize it.

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