Skip to content

armgit / ente

Public Imported from GitHub
0

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

move returns together

Manav Rathif07f3b320e47
diff --git a/web/apps/photos/src/pages/gallery.tsx b/web/apps/photos/src/pages/gallery.tsx
index 41569f3189..0748a2fa03 100644
--- a/web/apps/photos/src/pages/gallery.tsx
+++ b/web/apps/photos/src/pages/gallery.tsx
@@ -827,10 +827,6 @@ export default function Gallery() {
setHiddenCollectionSummaries(hiddenCollectionSummaries);
};
- if (!collectionSummaries || !filteredData) {
- return <div />;
- }
-
const setFilesDownloadProgressAttributesCreator: SetFilesDownloadProgressAttributesCreator =
(folderName, collectionID, isHidden) => {
const id = filesDownloadProgressAttributesList?.length ?? 0;
@@ -1041,6 +1037,10 @@ export default function Gallery() {
log.debug(() => ["person", activePerson]);
}
+ if (!collectionSummaries || !filteredData) {
+ return <div></div>;
+ }
+
return (
<GalleryContext.Provider
value={{