Procházet zdrojové kódy

filter curated videos

Klaudiusz Dembler před 4 roky
rodič
revize
bb4546352c
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/api/queries/videos.ts

+ 1 - 1
src/api/queries/videos.ts

@@ -45,7 +45,7 @@ export const GET_NEWEST_VIDEOS = gql`
     videosConnection(
       first: $first
       after: $after
-      where: { categoryId_eq: $categoryId }
+      where: { categoryId_eq: $categoryId, isCurated_eq: false }
       orderBy: [publishedOnJoystreamAt_DESC]
     ) {
       edges {