Prechádzať zdrojové kódy

fix mistakenly removed code

Abhinav 1 rok pred
rodič
commit
f9121fa1f2
1 zmenil súbory, kde vykonal 7 pridanie a 0 odobranie
  1. 7 0
      apps/photos/src/pages/gallery/index.tsx

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

@@ -591,6 +591,13 @@ export default function Gallery() {
                         return true;
                         return true;
                     }
                     }
                 }
                 }
+
+                // COLLECTION SECTION - show files in the active collection
+                if (activeCollectionID === item.collectionID) {
+                    return true;
+                } else {
+                    return false;
+                }
             })
             })
         );
         );
         if (search?.clip) {
         if (search?.clip) {