Skip to content

armgit / ente

Public Imported from GitHub
0

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

fix(web): Show pin icon for sharee-pinned albums

Prateek Sunal05ce150832ba
diff --git a/web/packages/new/photos/components/gallery/BarImpl.tsx b/web/packages/new/photos/components/gallery/BarImpl.tsx
index a1f0080970..1f31f60963 100644
--- a/web/packages/new/photos/components/gallery/BarImpl.tsx
+++ b/web/packages/new/photos/components/gallery/BarImpl.tsx
@@ -539,7 +539,7 @@ const CollectionBarCardIcon: React.FC<CollectionBarCardIconProps> = ({
// shared album that is also archived), and there is enough space for 3.
<CollectionBarCardIcon_>
{attributes.has("userFavorites") && <FavoriteRoundedIcon />}
- {attributes.has("pinned") && (
+ {(attributes.has("pinned") || attributes.has("shareePinned")) && (
// Need && to override the 20px set in the container.
<PushPinIcon sx={{ "&&": { fontSize: "18px" } }} />
)}