Skip to content

armgit / ente

Public Imported from GitHub
0

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

fix(FileInfo):face-sync-issue-fixed

Aswin Asok0c58b1cf92b1
diff --git a/web/packages/gallery/components/FileInfo.tsx b/web/packages/gallery/components/FileInfo.tsx
index 19513b7fe1..33f97b1558 100644
--- a/web/packages/gallery/components/FileInfo.tsx
+++ b/web/packages/gallery/components/FileInfo.tsx
@@ -275,6 +275,8 @@ export const FileInfo: React.FC<FileInfoProps> = ({
// rerun whenever reopened (even if for the same file).
if (!open) return undefined;
+ setAnnotatedFaces([]);
+
let didCancel = false;
void getAnnotatedFacesForFile(file).then(