diff --git a/web/apps/photos/src/pages/gallery.tsx b/web/apps/photos/src/pages/gallery.tsx index 742ce403bb..3b9ba24c25 100644 --- a/web/apps/photos/src/pages/gallery.tsx +++ b/web/apps/photos/src/pages/gallery.tsx @@ -901,7 +901,7 @@ export default function Gallery() { const handleChangeBarMode = (mode: GalleryBarMode) => mode == "people" ? dispatch({ type: "showPeople" }) - : dispatch({ type: "showAll" }); + : dispatch({ type: "showAlbums" }); const openHiddenSection: GalleryContextType["openHiddenSection"] = ( callback, @@ -1027,7 +1027,7 @@ export default function Gallery() { > {barMode == "hidden-albums" ? ( dispatch({ type: "showAll" })} + onBack={() => dispatch({ type: "showAlbums" })} /> ) : (