fix(ui): case insensitive match for search
This commit is contained in:
parent
bf47073407
commit
ebbc452326
2 changed files with 2 additions and 2 deletions
|
|
@ -29,7 +29,7 @@ function RecordingsList() {
|
|||
show={length === 0}
|
||||
title={
|
||||
<div className="flex flex-col items-center justify-center">
|
||||
<AnimatedSVG name={ICONS.NO_RECORDINGS} />
|
||||
<AnimatedSVG name={ICONS.NO_RECORDINGS} size={180} />
|
||||
<div className="text-center text-gray-600 my-4">
|
||||
{recordsSearch !== ''
|
||||
? 'No matching results'
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ function SavedSearchModal(props: Props) {
|
|||
setTimeout(() => setshowModal(true), 0);
|
||||
};
|
||||
|
||||
const shownItems = props.list.filter((item) => item.name.includes(filterQuery));
|
||||
const shownItems = props.list.filter((item) => item.name.toLocaleLowerCase().includes(filterQuery.toLocaleLowerCase()));
|
||||
|
||||
return (
|
||||
<div className="bg-white box-shadow h-screen">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue