Skip to content

armgit / ente

Public Imported from GitHub
0

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

Don't show bar controls in people section

Manav Rathi5b73eee14c9f
diff --git a/web/packages/new/photos/components/Gallery/BarImpl.tsx b/web/packages/new/photos/components/Gallery/BarImpl.tsx
index 089e8df0e2..ce1153d8bd 100644
--- a/web/packages/new/photos/components/Gallery/BarImpl.tsx
+++ b/web/packages/new/photos/components/Gallery/BarImpl.tsx
@@ -226,7 +226,7 @@ export const GalleryBarImpl: React.FC<GalleryBarImplProps> = ({
],
);
- const controls1 = isMobile && (
+ const controls1 = isMobile && mode != "people" && (
<Box display="flex" alignItems={"center"} gap={1}>
<CollectionsSortOptions
activeSortBy={collectionsSortBy}
@@ -239,7 +239,7 @@ export const GalleryBarImpl: React.FC<GalleryBarImplProps> = ({
</Box>
);
- const controls2 = !isMobile && (
+ const controls2 = !isMobile && mode != "people" && (
<Box display="flex" alignItems={"center"} gap={1} height={"64px"}>
<CollectionsSortOptions
activeSortBy={collectionsSortBy}