search case insensitive
This commit is contained in:
parent
962b8e5ce8
commit
d53843ae3c
|
|
@ -89,7 +89,12 @@ const SearchTable = () => {
|
|||
</tr>
|
||||
);
|
||||
} else {
|
||||
if (Object.values(player).toString().includes(searchItem)) {
|
||||
if (
|
||||
Object.values(player)
|
||||
.toString()
|
||||
.toLowerCase()
|
||||
.includes(searchItem.toLowerCase())
|
||||
) {
|
||||
return (
|
||||
<tr key={uuidv4()} className="search-tr">
|
||||
{/* N_o */}
|
||||
|
|
|
|||
Loading…
Reference in New Issue