Skip to content

Commit

Permalink
🚩 Update flags #1293
Browse files Browse the repository at this point in the history
  • Loading branch information
fernandolucchesi committed Oct 14, 2022
1 parent 56e52c3 commit a737d01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/lib/queries/news.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ export const fixPreviewForDrafts = /* groq */ `
((defined(_lang) && _lang == $lang) || (!defined(_lang) && $lang == "${defaultLanguage.name}"))
`

/* @TODO Add 'OR Flags.IS_GLOBAL_PROD' after review */
const excludeCrudeOilAssays = Flags.IS_DEV ? /* groq */ `!('crude-oil-assays' in tags[]->key.current) &&` : ''
const excludeCrudeOilAssays =
Flags.IS_DEV || Flags.IS_GLOBAL_PROD ? /* groq */ `!('crude-oil-assays' in tags[]->key.current) &&` : ''

export const newsFields = /* groq */ `
"id": _id,
Expand Down

0 comments on commit a737d01

Please sign in to comment.