mirror of
https://github.com/Unleash/unleash.git
synced 2025-03-04 00:18:40 +01:00
fix: tags highlight case sensitivity (#2462)
Search is already case insensitive, so it makes sense that the highlight style is as well.
This commit is contained in:
parent
dc08f1dadd
commit
e9fa156aec
@ -47,7 +47,8 @@ export const FeatureTagCell: VFC<IFeatureTagCellProps> = ({ row, value }) => {
|
||||
<StyledLink
|
||||
underline="always"
|
||||
highlighted={
|
||||
searchQuery.length > 0 && value.includes(searchQuery)
|
||||
searchQuery.length > 0 &&
|
||||
value.toLowerCase().includes(searchQuery.toLowerCase())
|
||||
}
|
||||
>
|
||||
{row.original.tags?.length === 1
|
||||
|
Loading…
Reference in New Issue
Block a user