Skip to content

Commit

Permalink
fix: update generatedQuery (#638)
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinRohlf authored Nov 28, 2024
1 parent 76c2b2c commit fda7788
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/@utils/aquarius/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,9 @@ export function generateBaseQuery(
? [getFilterTerm('nft.state', 5)]
: []),
getDynamicPricingMustNot(),
...(baseQueryParams.showSaas === false ? [saasFieldExists] : [])
...(baseQueryParams.showSaas === false && isMetadataTypeSelected
? [saasFieldExists]
: [])
]
}
}
Expand Down

0 comments on commit fda7788

Please sign in to comment.