Browse Source

feat(nc-gui): exclude single select & collaborator for like & empty

pull/5106/head
Wing-Kam Wong 2 years ago
parent
commit
d0bb200dd6
  1. 8
      packages/nc-gui/utils/filterUtils.ts

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

@ -32,24 +32,24 @@ export const comparisonOpList: {
{
text: 'is like',
value: 'like',
excludedTypes: [UITypes.Checkbox, ...numericUITypes],
excludedTypes: [UITypes.Checkbox, UITypes.SingleSelect, UITypes.Collaborator, ...numericUITypes],
},
{
text: 'is not like',
value: 'nlike',
excludedTypes: [UITypes.Checkbox, ...numericUITypes],
excludedTypes: [UITypes.Checkbox, UITypes.SingleSelect, UITypes.Collaborator, ...numericUITypes],
},
{
text: 'is empty',
value: 'empty',
ignoreVal: true,
excludedTypes: [UITypes.Checkbox, ...numericUITypes],
excludedTypes: [UITypes.Checkbox, UITypes.SingleSelect, UITypes.Collaborator, ...numericUITypes],
},
{
text: 'is not empty',
value: 'notempty',
ignoreVal: true,
excludedTypes: [UITypes.Checkbox, ...numericUITypes],
excludedTypes: [UITypes.Checkbox, UITypes.SingleSelect, UITypes.Collaborator, ...numericUITypes],
},
{
text: 'is null',

Loading…
Cancel
Save