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: When filter is selected but no device is selected show unconfigured #293

Conversation

TheDukeofErl
Copy link
Collaborator

As suggested in #286. When filtering is selected but a device to filter isn't, show unconfigured rather than inactive. I more or less borrowed the logic for determining if the Load button should or shouldn't be shown, made it into a helper function, then made it be used in both cases.

I was somewhat on the fence about this but have come around to liking it.

@ZyanKLee
Copy link
Contributor

works as expected

@ZyanKLee ZyanKLee merged commit 466c9dd into noisetorch:master May 26, 2022
@ZyanKLee ZyanKLee added this to the v0.12.0 milestone May 27, 2022
@TheDukeofErl TheDukeofErl deleted the bugfix/show-unconfigured-when-filter-but-no-selection branch June 4, 2022 17:19
@TheDukeofErl TheDukeofErl restored the bugfix/show-unconfigured-when-filter-but-no-selection branch June 4, 2022 17:19
@TheDukeofErl TheDukeofErl deleted the bugfix/show-unconfigured-when-filter-but-no-selection branch August 10, 2022 21:36
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.

None yet

2 participants