Skip to content

armgit / ente

Public Imported from GitHub
0

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

fix search

Abhinav47794d03cbd3
diff --git a/apps/photos/src/pages/gallery/index.tsx b/apps/photos/src/pages/gallery/index.tsx
index d3e37e55ee..9e017438cc 100644
--- a/apps/photos/src/pages/gallery/index.tsx
+++ b/apps/photos/src/pages/gallery/index.tsx
@@ -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;