From 0f5f1b7b0a1e5f8a92a7c5fc82c8efa976df95cf Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Thu, 2 Feb 2023 19:32:24 +0800 Subject: [PATCH] feat(nc-gui): exclude null operators for checkbox --- packages/nc-gui/utils/filterUtils.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/nc-gui/utils/filterUtils.ts b/packages/nc-gui/utils/filterUtils.ts index 49f17fc633..0b7c7fa086 100644 --- a/packages/nc-gui/utils/filterUtils.ts +++ b/packages/nc-gui/utils/filterUtils.ts @@ -101,13 +101,13 @@ export const comparisonOpList = ( text: 'is null', value: 'null', ignoreVal: true, - excludedTypes: [...numericUITypes, UITypes.SingleSelect, UITypes.MultiSelect, UITypes.Collaborator], + excludedTypes: [...numericUITypes, UITypes.Checkbox, UITypes.SingleSelect, UITypes.MultiSelect, UITypes.Collaborator], }, { text: 'is not null', value: 'notnull', ignoreVal: true, - excludedTypes: [...numericUITypes, UITypes.SingleSelect, UITypes.MultiSelect, UITypes.Collaborator], + excludedTypes: [...numericUITypes, UITypes.Checkbox, UITypes.SingleSelect, UITypes.MultiSelect, UITypes.Collaborator], }, { text: 'contains all of',