Browse Source

feat(nc-gui): exclude SingleSelect, MultiSelect, Collaborator for null operators

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

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

@ -101,13 +101,13 @@ export const comparisonOpList = (
text: 'is null', text: 'is null',
value: 'null', value: 'null',
ignoreVal: true, ignoreVal: true,
excludedTypes: [...numericUITypes], excludedTypes: [...numericUITypes, UITypes.SingleSelect, UITypes.MultiSelect, UITypes.Collaborator],
}, },
{ {
text: 'is not null', text: 'is not null',
value: 'notnull', value: 'notnull',
ignoreVal: true, ignoreVal: true,
excludedTypes: [...numericUITypes], excludedTypes: [...numericUITypes, UITypes.SingleSelect, UITypes.MultiSelect, UITypes.Collaborator],
}, },
{ {
text: 'contains all of', text: 'contains all of',

Loading…
Cancel
Save