mirror of
https://github.com/Unleash/unleash.git
synced 2025-06-09 01:17:06 +02: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
|
<StyledLink
|
||||||
underline="always"
|
underline="always"
|
||||||
highlighted={
|
highlighted={
|
||||||
searchQuery.length > 0 && value.includes(searchQuery)
|
searchQuery.length > 0 &&
|
||||||
|
value.toLowerCase().includes(searchQuery.toLowerCase())
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
{row.original.tags?.length === 1
|
{row.original.tags?.length === 1
|
||||||
|
Loading…
Reference in New Issue
Block a user