Skip to content

Commit

Permalink
Fix un-necessary toLowerCase() call
Browse files Browse the repository at this point in the history
Co-authored-by: karwosts <[email protected]>
  • Loading branch information
malkstar and karwosts authored Feb 16, 2024
1 parent 8774f0c commit 3ffcc2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ha-service-picker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ class HaServicePicker extends LitElement {
const lower_service = service.service.toLowerCase();
return (
split_filter.every((f) => lower_service_name.includes(f)) ||
split_filter.every((f) => lower_service.toLowerCase().includes(f))
split_filter.every((f) => lower_service.includes(f))
);
});
}
Expand Down

0 comments on commit 3ffcc2a

Please sign in to comment.