Skip to content

Commit

Permalink
fix: CLIN-3284 remove console
Browse files Browse the repository at this point in the history
  • Loading branch information
claudia1296 committed Oct 16, 2024
1 parent 375e2d9 commit f45d296
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/ui/src/components/QueryBuilder/utils/helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@ export const removeIgnoreFieldFromQueryContent = (
): ISyntheticSqon => {
const queryToRemove = query.content.filter((c) => {
let toKeep = false;
console.log('filter query', query);
if (!Array.isArray((c as IValueFilter).content)) {
console.log('filter c', c);
if ((c as IValueFilter).content) {
if (!filterQueryToIgnore?.includes(((c as IValueFilter).content as IValueContent).field)) {
toKeep = true;
Expand Down

0 comments on commit f45d296

Please sign in to comment.