Update index.tsx
This commit is contained in:
parent
c04794f26e
commit
31c706eff9
1 changed files with 1 additions and 0 deletions
|
@ -842,6 +842,7 @@ export default function Gallery() {
|
|||
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();
|
||||
|
|
Loading…
Add table
Reference in a new issue