Skip to content

Commit

Permalink
Update article queries with listing image field
Browse files Browse the repository at this point in the history
  • Loading branch information
tinuola committed Jan 15, 2025
1 parent 3384cb3 commit 0ede585
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
4 changes: 4 additions & 0 deletions gql/queries/FTVAArticleDetail.gql
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ query FTVAArticleDetail($slug: [String!]) {
title
uri

ftvaImage {
...Image
}

imageCarousel {
... on imageCarousel_imageCarousel_BlockType {
image {
Expand Down
16 changes: 4 additions & 12 deletions gql/queries/FTVAArticleList.gql
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,8 @@ query FTVAArticleList($slug: [String!]) {
postDate
ftvaHomepageDescription
uri
imageCarousel {
... on imageCarousel_imageCarousel_BlockType {
image {
...Image
}
}
ftvaImage {
...Image
}
}
}
Expand All @@ -28,12 +24,8 @@ query FTVAArticleList($slug: [String!]) {
postDate
ftvaHomepageDescription
uri
imageCarousel {
... on imageCarousel_imageCarousel_BlockType {
image {
...Image
}
}
ftvaImage {
...Image
}
}
}
Expand Down

0 comments on commit 0ede585

Please sign in to comment.