π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
tsc
Manav Rathi6d769773cc5b
diff --git a/web/apps/photos/src/types/search/index.ts b/web/apps/photos/src/types/search/index.tsindex 97f6d3170b..29a1cffef2 100644--- a/web/apps/photos/src/types/search/index.ts+++ b/web/apps/photos/src/types/search/index.ts@@ -46,8 +46,6 @@ export type Search = {collection?: number;files?: number[];person?: Person;- thing?: Thing;- text?: WordGroup;fileType?: FILE_TYPE;clip?: ClipSearchScores;};diff --git a/web/apps/photos/src/worker/search.worker.ts b/web/apps/photos/src/worker/search.worker.tsindex 31852a4169..2667c0c850 100644--- a/web/apps/photos/src/worker/search.worker.ts+++ b/web/apps/photos/src/worker/search.worker.ts@@ -57,14 +57,6 @@ function isSearchedFile(file: EnteFile, search: Search) {if (search?.person) {return search.person.files.indexOf(file.id) !== -1;}-- if (search?.thing) {- return search.thing.files.indexOf(file.id) !== -1;- }-- if (search?.text) {- return search.text.files.indexOf(file.id) !== -1;- }if (typeof search?.fileType !== "undefined") {return search.fileType === file.metadata.fileType;}