exitHiddenSection on unhide

This commit is contained in:
Abhinav 2023-08-28 01:30:33 +05:30
parent 07ad13f882
commit 3902007fc7

View file

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