Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

fix search issue

Abhinavb32ee4bc7d92
diff --git a/apps/photos/src/pages/gallery/index.tsx b/apps/photos/src/pages/gallery/index.tsx
index d59201d287..59deef5db5 100644
--- a/apps/photos/src/pages/gallery/index.tsx
+++ b/apps/photos/src/pages/gallery/index.tsx
@@ -535,10 +535,7 @@ export default function Gallery() {
) {
return false;
}
- if (
- typeof search?.clip &&
- search.clip.has(item.id) === false
- ) {
+ if (search?.clip && search.clip.has(item.id) === false) {
return false;
}
return true;