Skip to content

armgit / ente

Public Imported from GitHub
0

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

Another

Manav Rathi71adb1e366fe
diff --git a/web/apps/photos/src/pages/gallery.tsx b/web/apps/photos/src/pages/gallery.tsx
index 881c28ac91..a3c3a78937 100644
--- a/web/apps/photos/src/pages/gallery.tsx
+++ b/web/apps/photos/src/pages/gallery.tsx
@@ -736,13 +736,14 @@ export default function Gallery() {
count: 0,
collectionID: activeCollectionID,
context:
- barMode == "people" && galleryPeopleState?.activePersonID
+ resolvedBarMode == "people" &&
+ galleryPeopleState?.activePersonID
? {
mode: "people" as const,
personID: galleryPeopleState.activePersonID,
}
: {
- mode: "albums" as const,
+ mode: resolvedBarMode as "albums" | "hidden-albums",
collectionID: ensure(activeCollectionID),
},
};