Skip to content

armgit / ente

Public Imported from GitHub
0

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

fix(CollectionSelector):added-shareePinned

Aswin Asok0ca628a73387
diff --git a/web/packages/new/photos/components/CollectionSelector.tsx b/web/packages/new/photos/components/CollectionSelector.tsx
index 10ada040cc..77f0d9245e 100644
--- a/web/packages/new/photos/components/CollectionSelector.tsx
+++ b/web/packages/new/photos/components/CollectionSelector.tsx
@@ -369,7 +369,9 @@ const CollectionSummaryButton: React.FC<CollectionSummaryButtonProps> = ({
onClick,
}) => {
const isFavorite = collectionSummary.type === "userFavorites";
- const isPinned = collectionSummary.attributes.has("pinned");
+ const isPinned =
+ collectionSummary.attributes.has("pinned") ||
+ collectionSummary.attributes.has("shareePinned");
return (
<ItemCard