Skip to content

armgit / ente

Public Imported from GitHub
0

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

Make people a normal info item

Manav Rathi01277d6f5a9e
diff --git a/web/apps/photos/src/components/PhotoViewer/FileInfo/index.tsx b/web/apps/photos/src/components/PhotoViewer/FileInfo/index.tsx
index ac789512f4..f6229ac003 100644
--- a/web/apps/photos/src/components/PhotoViewer/FileInfo/index.tsx
+++ b/web/apps/photos/src/components/PhotoViewer/FileInfo/index.tsx
@@ -272,6 +272,15 @@ export const FileInfo: React.FC<FileInfoProps> = ({
)
}
/>
+ {isMLEnabled() && annotatedFaces.length > 0 && (
+ <InfoItem icon={<FolderOutlinedIcon />}>
+ <FilePeopleList
+ file={file}
+ annotatedFaceIDs={annotatedFaces}
+ onSelectFace={handleSelectFace}
+ />{" "}
+ </InfoItem>
+ )}
{showCollectionChips && (
<InfoItem icon={<FolderOutlinedIcon />}>
<Box
@@ -299,14 +308,6 @@ export const FileInfo: React.FC<FileInfoProps> = ({
</Box>
</InfoItem>
)}
-
- {isMLEnabled() && annotatedFaces.length > 0 && (
- <FilePeopleList
- file={file}
- annotatedFaceIDs={annotatedFaces}
- onSelectFace={handleSelectFace}
- />
- )}
</Stack>
<RawExif