Skip to content

armgit / ente

Public Imported from GitHub
0

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

allow using uncategorized as replacement album

Abhinav81c0780271ed
diff --git a/apps/photos/src/utils/collection/index.ts b/apps/photos/src/utils/collection/index.ts
index 2341ed2f4a..6afae355cd 100644
--- a/apps/photos/src/utils/collection/index.ts
+++ b/apps/photos/src/utils/collection/index.ts
@@ -521,7 +521,8 @@ export function isValidReplacementAlbum(
return (
collection.name === wantedCollectionName &&
(collection.type === CollectionType.album ||
- collection.type === CollectionType.folder) &&
+ collection.type === CollectionType.folder ||
+ collection.type === CollectionType.uncategorized) &&
!isHiddenCollection(collection) &&
!isQuickLinkCollection(collection) &&
!isIncomingShare(collection, user)