From a737d010c6c37faab5e9b92775c344c84b6e187c Mon Sep 17 00:00:00 2001 From: Fernando Lucchesi Date: Fri, 14 Oct 2022 07:38:54 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A9=20Update=20flags=20#1293?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/lib/queries/news.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/lib/queries/news.ts b/web/lib/queries/news.ts index 23f26c196..8e21b74ba 100644 --- a/web/lib/queries/news.ts +++ b/web/lib/queries/news.ts @@ -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,