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

riskhotspot class filter should be case insensitive #517

Closed
tonyhallett opened this issue May 9, 2022 · 1 comment
Closed

riskhotspot class filter should be case insensitive #517

tonyhallett opened this issue May 9, 2022 · 1 comment

Comments

@tonyhallett
Copy link

Describe the bug

if (this.settings.filter !== "" && allRiskHotspots[i].class.toLowerCase().indexOf(this.settings.filter) === -1) {

if (this.settings.filter !== "" && allRiskHotspots[i].class.toLowerCase().indexOf(this.settings.filter) === -1) {

should this be

if (this.settings.filter !== "" && allRiskHotspots[i].class.toLowerCase().indexOf(this.settings.filter.toLowerCase()) === -1) {
@danielpalme
Copy link
Owner

Thanks for reporting this.
I have changed the behavior according to your suggestion.

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

No branches or pull requests

2 participants