Browse Source

fix: exclude isEmpty & isNotEmpty filter options for number based datatypes

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/4922/head
Raju Udava 2 years ago
parent
commit
1ccc9a8375
  1. 4
      packages/nc-gui/utils/filterUtils.ts

4
packages/nc-gui/utils/filterUtils.ts

@ -41,13 +41,13 @@ export const comparisonOpList: {
text: 'is empty',
value: 'empty',
ignoreVal: true,
excludedTypes: [UITypes.Checkbox, UITypes.Rating],
excludedTypes: [UITypes.Checkbox, UITypes.Rating, UITypes.Number, UITypes.Decimal, UITypes.Percent, UITypes.Currency],
},
{
text: 'is not empty',
value: 'notempty',
ignoreVal: true,
excludedTypes: [UITypes.Checkbox, UITypes.Rating],
excludedTypes: [UITypes.Checkbox, UITypes.Rating, UITypes.Number, UITypes.Decimal, UITypes.Percent, UITypes.Currency],
},
{
text: 'is null',

Loading…
Cancel
Save