π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Add missing conditional
Manav Rathi94ec766bc618
diff --git a/web/apps/photos/src/components/ml/PeopleList.tsx b/web/apps/photos/src/components/ml/PeopleList.tsxindex 3748c0d8c3..4691d4b650 100644--- a/web/apps/photos/src/components/ml/PeopleList.tsx+++ b/web/apps/photos/src/components/ml/PeopleList.tsx@@ -175,8 +175,10 @@ const FaceCropImageView: React.FC<FaceCropImageViewProps> = ({);})*/.then((data) => {- const blob = new Blob([data]);- if (!didCancel) setObjectURL(URL.createObjectURL(blob));+ if (data) {+ const blob = new Blob([data]);+ if (!didCancel) setObjectURL(URL.createObjectURL(blob));+ }});} else setObjectURL(undefined);