From d625a305d85f4860526eb761d29d1293add61c8a Mon Sep 17 00:00:00 2001 From: KevinRohlf <123676073+KevinRohlf@users.noreply.github.com> Date: Thu, 28 Nov 2024 15:24:57 +0100 Subject: [PATCH] fix: update generatedQuery --- src/@utils/aquarius/index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/@utils/aquarius/index.ts b/src/@utils/aquarius/index.ts index 6cc0858b..f74dd4e7 100644 --- a/src/@utils/aquarius/index.ts +++ b/src/@utils/aquarius/index.ts @@ -157,7 +157,9 @@ export function generateBaseQuery( ? [getFilterTerm('nft.state', 5)] : []), getDynamicPricingMustNot(), - ...(baseQueryParams.showSaas === false ? [saasFieldExists] : []) + ...(baseQueryParams.showSaas === false && isMetadataTypeSelected + ? [saasFieldExists] + : []) ] } }