fix search

This commit is contained in:
Abhinav 2023-10-20 09:35:22 +05:30
parent 3aae181c7e
commit 47794d03cb

View file

@ -535,7 +535,10 @@ export default function Gallery() {
) {
return false;
}
if (typeof search?.clip && search.clip.has(item.id)) {
if (
typeof search?.clip &&
search.clip.has(item.id) === false
) {
return false;
}
return true;