π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Stay on empty albums
Manav Rathid61d9b95ad97
diff --git a/web/apps/photos/src/pages/gallery.tsx b/web/apps/photos/src/pages/gallery.tsxindex caefaf2f8e..334bb575b0 100644--- a/web/apps/photos/src/pages/gallery.tsx+++ b/web/apps/photos/src/pages/gallery.tsx@@ -878,18 +878,6 @@ export default function Gallery() {selected.collectionID,);}- if (selected?.ownCount === filteredData?.length) {- if (- ops === COLLECTION_OPS_TYPE.REMOVE ||- ops === COLLECTION_OPS_TYPE.RESTORE ||- ops === COLLECTION_OPS_TYPE.MOVE- ) {- // redirect to all section when no items are left in the current collection.- setActiveCollectionID(ALL_SECTION);- } else if (ops === COLLECTION_OPS_TYPE.UNHIDE) {- exitHiddenSection();- }- }clearSelection();await syncWithRemote(false, true);} catch (e) {@@ -927,14 +915,6 @@ export default function Gallery() {setFilesDownloadProgressAttributesCreator,);}- if (- selected?.ownCount === filteredData?.length &&- ops !== FILE_OPS_TYPE.ARCHIVE &&- ops !== FILE_OPS_TYPE.DOWNLOAD &&- ops !== FILE_OPS_TYPE.FIX_TIME- ) {- setActiveCollectionID(ALL_SECTION);- }clearSelection();await syncWithRemote(false, true);} catch (e) {