Skip to content

armgit / ente

Public Imported from GitHub
0

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

sz/count

Manav Rathi92868dccb41c
diff --git a/web/packages/new/photos/pages/duplicates.tsx b/web/packages/new/photos/pages/duplicates.tsx
index 02b822f63f..4274b56bf7 100644
--- a/web/packages/new/photos/pages/duplicates.tsx
+++ b/web/packages/new/photos/pages/duplicates.tsx
@@ -339,8 +339,14 @@ const ListItem: React.FC<ListChildComponentProps<DuplicatesListProps>> = ({
data,
}) => {
const { duplicateGroups } = data;
- const dup = duplicateGroups[index]!;
- return <div {...{ style }}>{dup.items.length}</div>;
+ const duplicateGroup = duplicateGroups[index]!;
+ const count = duplicateGroup.items.length;
+ const itemSize = formattedByteSize(duplicateGroup.itemSize);
+ return (
+ <Stack {...{ style }}>
+ <Typography>{pt(`${count} items, ${itemSize} each`)}</Typography>
+ </Stack>
+ );
};
interface DeduplicateButtonProps {