Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Deselect/select all regions logic fix #225

Conversation

ChrisEberleSchool
Copy link
Contributor

removed the unnecessary wrong logic which handled the button states for this. It works now.

xspanger3770 and others added 3 commits January 26, 2024 20:47
- no need to grey out deselectall and selectall buttons.
- this just ensure you are always able to selectall and deselectall
- this commit ensure that when the user clicks on select or deselect region then clicks on deselect or select all that the region select ui mode is exited.
@xspanger3770
Copy link
Owner

The logic was originally designed by someone to make the deselect all button disabled if all stations are indeed disabled, but since the functionality was implemented incorrectly, I agree that it's better to disable it completely and use your elegant version of the code :)

@xspanger3770 xspanger3770 merged commit ceba3b3 into xspanger3770:develop Feb 3, 2024
1 check passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants