π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
ignore empty embeddings
Abhinavd49b736ac196
diff --git a/apps/photos/src/utils/embedding.ts b/apps/photos/src/utils/embedding.tsindex 7800a1ee3d..bc7e4d2470 100644--- a/apps/photos/src/utils/embedding.ts+++ b/apps/photos/src/utils/embedding.ts@@ -3,6 +3,9 @@ import { Embedding } from 'types/embedding';export const getLatestVersionEmbeddings = (embeddings: Embedding[]) => {const latestVersionEntities = new Map<number, Embedding>();embeddings.forEach((embedding) => {+ if (!embedding?.fileID) {+ return;+ }const existingEmbeddings = latestVersionEntities.get(embedding.fileID);if (!existingEmbeddings ||