Skip to content

armgit / ente

Public Imported from GitHub
0

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

[web][photos] Show gallery status in all views

AswinAsokb42582e0969f
diff --git a/web/apps/photos/src/components/gallery/PhotosNavigationShell.tsx b/web/apps/photos/src/components/gallery/PhotosNavigationShell.tsx
index 79f7b3baf9..00cf70a154 100644
--- a/web/apps/photos/src/components/gallery/PhotosNavigationShell.tsx
+++ b/web/apps/photos/src/components/gallery/PhotosNavigationShell.tsx
@@ -63,14 +63,12 @@ export const PhotosNavigationShell: React.FC<
React.PropsWithChildren<
PhotosNavigationShellProps & {
isFirstLoad: boolean;
- isCleanupViewOpen: boolean;
alternateHeader: ReactNode;
galleryNavigation: GalleryNavigation | undefined;
}
>
> = ({
isFirstLoad,
- isCleanupViewOpen,
alternateHeader,
galleryNavigation,
children,
@@ -270,12 +268,8 @@ export const PhotosNavigationShell: React.FC<
>
{children}
</Stack>
- {!isCleanupViewOpen && (
- <>
- {isFirstLoad && <FirstLoadMessage />}
- {isOffline && <OfflineMessage />}
- </>
- )}
+ {isFirstLoad && <FirstLoadMessage />}
+ {isOffline && <OfflineMessage />}
</Stack>
</Stack>
</Stack>
diff --git a/web/apps/photos/src/pages/gallery.tsx b/web/apps/photos/src/pages/gallery.tsx
index 61df234d88..50d0662f15 100644
--- a/web/apps/photos/src/pages/gallery.tsx
+++ b/web/apps/photos/src/pages/gallery.tsx
@@ -2186,7 +2186,6 @@ const Page: React.FC = () => {
/>
<PhotosNavigationShell
isFirstLoad={isFirstLoad}
- isCleanupViewOpen={isCleanupViewOpen}
isInSearchMode={isInSearchMode}
isSettingsOpen={sidebarVisibilityProps.open}
mode={barMode}