Skip to content

Commit

Permalink
Pmm 12390 make the text search case insensitive (#698)
Browse files Browse the repository at this point in the history
* Make the text search case insensitive

* Fixed ts error
  • Loading branch information
doracretu3pillar authored Jan 10, 2024
1 parent c7a4252 commit fc39d55
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const AddBackupPageService = {
if (supportedServices.includes(serviceName)) {
result.push(
...newServices
.filter((service) => service.name.toLowerCase().includes(query))
.filter((service) => service.name.toLowerCase().includes(query.toLowerCase()))
.map(
({ id, name, cluster }): SelectableValue<SelectableService> => ({
label: name,
Expand Down

0 comments on commit fc39d55

Please sign in to comment.