瀏覽代碼

don't exit hidden section after unhide operation

Abhinav 1 年之前
父節點
當前提交
669fb33b67
共有 1 個文件被更改,包括 0 次插入3 次删除
  1. 0 3
      apps/photos/src/pages/gallery/index.tsx

+ 0 - 3
apps/photos/src/pages/gallery/index.tsx

@@ -839,9 +839,6 @@ export default function Gallery() {
 
                 clearSelection();
                 await syncWithRemote(false, true);
-                if (isInHiddenSection && ops === COLLECTION_OPS_TYPE.UNHIDE) {
-                    exitHiddenSection();
-                }
             } catch (e) {
                 logError(e, 'collection ops failed', { ops });
                 setDialogMessage({