Skip to content

armgit / ente

Public Imported from GitHub
0

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

[web] Continue display of trashed items if mobile search is active

Manav Rathib8f2b850c333
diff --git a/web/apps/photos/src/pages/gallery.tsx b/web/apps/photos/src/pages/gallery.tsx
index 06a8e8b161..fafaedbb87 100644
--- a/web/apps/photos/src/pages/gallery.tsx
+++ b/web/apps/photos/src/pages/gallery.tsx
@@ -526,7 +526,7 @@ export default function Gallery() {
return;
}
- if (activeCollectionID === TRASH_SECTION && !isInSearchMode) {
+ if (activeCollectionID === TRASH_SECTION && !selectedSearchOption) {
return getUniqueFiles([
...trashedFiles,
...files.filter((file) => tempDeletedFileIds?.has(file.id)),
@@ -610,7 +610,6 @@ export default function Gallery() {
tempDeletedFileIds,
tempHiddenFileIds,
hiddenFileIds,
- isInSearchMode,
selectedSearchOption,
activeCollectionID,
archivedCollections,