Skip to content

armgit / ente

Public Imported from GitHub
0

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

lf

Manav Rathi9a5d9774196f
diff --git a/web/apps/photos/src/pages/gallery.tsx b/web/apps/photos/src/pages/gallery.tsx
index 2aa7d6308e..c8efb46bd3 100644
--- a/web/apps/photos/src/pages/gallery.tsx
+++ b/web/apps/photos/src/pages/gallery.tsx
@@ -32,6 +32,7 @@ import { shouldShowWhatsNew } from "@/new/photos/services/changelog";
import {
ALL_SECTION,
DUMMY_UNCATEGORIZED_COLLECTION,
+ getAllLocalCollections,
isHiddenCollection,
} from "@/new/photos/services/collection";
import { areOnlySystemCollections } from "@/new/photos/services/collection/ui";
@@ -114,7 +115,6 @@ import {
createUnCategorizedCollection,
getAllLatestCollections,
} from "services/collectionService";
-import { getAllLocalCollections } from "@/new/photos/services/collection";
import { syncFiles } from "services/fileService";
import { preFileInfoSync, sync } from "services/sync";
import { syncTrash } from "services/trashService";
diff --git a/web/apps/photos/src/services/export/index.ts b/web/apps/photos/src/services/export/index.ts
index 83526c7eea..e014b2cb29 100644
--- a/web/apps/photos/src/services/export/index.ts
+++ b/web/apps/photos/src/services/export/index.ts
@@ -14,6 +14,7 @@ import { FileType } from "@/media/file-type";
import { decodeLivePhoto } from "@/media/live-photo";
import {
createCollectionNameByID,
+ getAllLocalCollections,
getCollectionUserFacingName,
} from "@/new/photos/services/collection";
import {
@@ -26,7 +27,6 @@ import { PromiseQueue } from "@/utils/promise";
import { CustomError } from "@ente/shared/error";
import { LS_KEYS, getData, setData } from "@ente/shared/storage/localStorage";
import i18n from "i18next";
-import { getAllLocalCollections } from "@/new/photos/services/collection";
import { migrateExport, type ExportRecord } from "./migration";
/** Name of the JSON file in which we keep the state of the export. */