Skip to content

armgit / ente

Public Imported from GitHub
0

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

fix(photos):preserve-cleanup-view-padding

Aswin Asok88232831ec8b
diff --git a/web/apps/photos/src/components/gallery/PhotosNavigationShell.tsx b/web/apps/photos/src/components/gallery/PhotosNavigationShell.tsx
index 9a0785c04f..cb1b81f9d3 100644
--- a/web/apps/photos/src/components/gallery/PhotosNavigationShell.tsx
+++ b/web/apps/photos/src/components/gallery/PhotosNavigationShell.tsx
@@ -218,7 +218,8 @@ export const PhotosNavigationShell: React.FC<
!(
props.mode == "people" &&
!props.isInSearchMode &&
- !galleryBarProps?.activePerson
+ galleryBarProps &&
+ !galleryBarProps.activePerson
)
? `${thumbnailGridPadding}px`
: 0,