Skip to content

Commit

Permalink
feat(customerCase): include block sections in customer case query
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiazom committed Oct 17, 2024
1 parent 79bbe3b commit 8a4a1a3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions studioShared/lib/queries/customerCases.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@ export const CUSTOMER_CASE_QUERY = groq`
"sector": ${translatedFieldFragment("sector")},
"delivery": ${translatedFieldFragment("delivery")},
consultants
},
"sections": sections[] {
_type,
_type == "richTextBlock" => {
...,
"richText": ${translatedFieldFragment("richText")},
}
}
}
`;
Expand Down

0 comments on commit 8a4a1a3

Please sign in to comment.