From 8b34b9900321b0e9f218d5b7f5448d4b6273eacf Mon Sep 17 00:00:00 2001 From: Pranav C Date: Thu, 22 Jun 2023 20:25:25 +0530 Subject: [PATCH] fix: exclude Rollup and Links column from blank filter Signed-off-by: Pranav C --- packages/nc-gui/utils/filterUtils.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/nc-gui/utils/filterUtils.ts b/packages/nc-gui/utils/filterUtils.ts index dbf4e875bf..9ca3ac8869 100644 --- a/packages/nc-gui/utils/filterUtils.ts +++ b/packages/nc-gui/utils/filterUtils.ts @@ -1,4 +1,4 @@ -import { UITypes, isNumericCol, numericUITypes } from 'nocodb-sdk' +import { isNumericCol, numericUITypes, UITypes } from 'nocodb-sdk' const getEqText = (fieldUiType: UITypes) => { if (isNumericCol(fieldUiType) || fieldUiType === UITypes.Time) { @@ -261,13 +261,13 @@ export const comparisonOpList = ( text: 'is blank', value: 'blank', ignoreVal: true, - excludedTypes: [UITypes.Checkbox], + excludedTypes: [UITypes.Checkbox, UITypes.Links, UITypes.Rollup], }, { text: 'is not blank', value: 'notblank', ignoreVal: true, - excludedTypes: [UITypes.Checkbox], + excludedTypes: [UITypes.Checkbox, UITypes.Links, UITypes.Rollup], }, ]