Skip to content

Commit

Permalink
feat(website): playground Visual Editor search makes case-insensitive (
Browse files Browse the repository at this point in the history
…typescript-eslint#8767)

feat: website visualEditor makes case-sensitive
  • Loading branch information
developer-bandi authored and yeonjuan committed Mar 31, 2024
1 parent 01282cd commit 574f9dd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/website/src/components/config/ConfigEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ function filterConfig(
return options
.map(group => ({
heading: group.heading,
fields: group.fields.filter(item => String(item.key).includes(filter)),
fields: group.fields.filter(item =>
String(item.key.toLowerCase()).includes(filter.toLowerCase()),
),
}))
.filter(group => group.fields.length > 0);
}
Expand Down

0 comments on commit 574f9dd

Please sign in to comment.