Skip to content

armgit / ente

Public Imported from GitHub
0

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

Fix

Manav Rathidc6ebf60337b
diff --git a/web/apps/photos/src/pages/deduplicate.tsx b/web/apps/photos/src/pages/deduplicate.tsx
index f1ef74a7c3..242b41ceb9 100644
--- a/web/apps/photos/src/pages/deduplicate.tsx
+++ b/web/apps/photos/src/pages/deduplicate.tsx
@@ -131,7 +131,12 @@ export default function Deduplicate() {
// there in an ad-hoc manner. For now, this fixes the issue with the
// UI not updating if the user deletes only some of the duplicates.
const collections = await getAllLatestCollections();
- await syncFiles("normal", collections, () => {});
+ await syncFiles(
+ "normal",
+ collections,
+ () => {},
+ () => {},
+ );
await syncTrash(collections, () => {});
} catch (e) {
if (
diff --git a/web/apps/photos/src/pages/shared-albums.tsx b/web/apps/photos/src/pages/shared-albums.tsx
index 45b81af268..82a8ea3a83 100644
--- a/web/apps/photos/src/pages/shared-albums.tsx
+++ b/web/apps/photos/src/pages/shared-albums.tsx
@@ -543,7 +543,7 @@ export default function PublicCollectionGallery() {
uploadCollection={publicCollection}
setLoading={setBlockingLoad}
setShouldDisableDropzone={setShouldDisableDropzone}
- setFiles={setPublicFiles}
+ onUploadFile={(file) => sortFiles([...publicFiles, file])}
uploadTypeSelectorView={uploadTypeSelectorView}
closeUploadTypeSelector={closeUploadTypeSelectorView}
showSessionExpiredMessage={showPublicLinkExpiredMessage}