Skip to content

armgit / ente

Public Imported from GitHub
0

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

fix(PickCoverPhotoDialog):hidden-albums-edge-case-fixed

Aswin Asok02b669a22f40
diff --git a/docs/docs/photos/features/albums-and-organization/albums.md b/docs/docs/photos/features/albums-and-organization/albums.md
index 579d9caa1f..687c8475b7 100644
--- a/docs/docs/photos/features/albums-and-organization/albums.md
+++ b/docs/docs/photos/features/albums-and-organization/albums.md
@@ -72,6 +72,14 @@ Select any photo you want to use as the cover for your album.
- Browse through your photos and tap on the image you want to set as the album cover
- Tap **Use selected photo**
+### On web / desktop
+
+- Click the album you want to change
+- Click the overflow menu (three dots) in the top right corner
+- Click **Set cover**
+- Select the image you want to use as the album cover
+- Click **Confirm**
+
## View album photos on a map
Explore your album's memories based on their location.
diff --git a/web/apps/photos/src/pages/gallery.tsx b/web/apps/photos/src/pages/gallery.tsx
index cf775ef3ec..b5e84a9953 100644
--- a/web/apps/photos/src/pages/gallery.tsx
+++ b/web/apps/photos/src/pages/gallery.tsx
@@ -429,6 +429,7 @@ const Page: React.FC = () => {
const activeCollectionFiles = useMemo(() => {
if (!activeCollection) return [];
+ if (barMode == "hidden-albums") return filteredFiles;
return filteredFiles.filter(({ id, magicMetadata }) => {
const visibility = magicMetadata?.data.visibility;
@@ -445,6 +446,7 @@ const Page: React.FC = () => {
});
}, [
activeCollection,
+ barMode,
filteredFiles,
hiddenFileIDs,
tempDeletedFileIDs,