Skip to content

FIX: display alert when casting last remaining vote #33845

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Juanc1to
Copy link
Contributor

This corrects a slight logic bug that was preventing the alert when the number of remaining votes was zero.

@discoursebot
Copy link

This pull request has been mentioned on Discourse Meta. There might be relevant details there:

https://meta.discourse.org/t/no-alert-is-displayed-after-casting-last-remaining-vote/373976/3

@SamSaffron
Copy link
Member

any chance we could add a small test here, I guess it is rather tricky to make it.

@Juanc1to
Copy link
Contributor Author

any chance we could add a small test here, I guess it is rather tricky to make it.

I'm not really wanting to develop a test for this, particularly as the change is so small and the test would be tricky, as you mention.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants