Browse Source

fix: show empty filtering for select options

Signed-off-by: mertmit <mertmit99@gmail.com>
pull/4901/head
mertmit 2 years ago
parent
commit
88add83cf1
  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', text: 'is empty',
value: 'empty', value: 'empty',
ignoreVal: true, ignoreVal: true,
excludedTypes: [UITypes.Checkbox, UITypes.Rating, UITypes.MultiSelect, UITypes.SingleSelect], excludedTypes: [UITypes.Checkbox, UITypes.Rating],
}, },
{ {
text: 'is not empty', text: 'is not empty',
value: 'notempty', value: 'notempty',
ignoreVal: true, ignoreVal: true,
excludedTypes: [UITypes.Checkbox, UITypes.Rating, UITypes.MultiSelect, UITypes.SingleSelect], excludedTypes: [UITypes.Checkbox, UITypes.Rating],
}, },
{ {
text: 'is null', text: 'is null',

Loading…
Cancel
Save