Browse Source

fix(nc-gui): ignoreVal on one_month_from_now & number_of_days_from_now

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

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

@ -263,7 +263,7 @@ export const comparisonSubOpList: {
{ {
text: 'one month from now', text: 'one month from now',
value: 'one_month_from_now', value: 'one_month_from_now',
ignoreVal: false, ignoreVal: true,
includedTypes: [UITypes.Date, UITypes.DateTime], includedTypes: [UITypes.Date, UITypes.DateTime],
}, },
{ {
@ -275,7 +275,7 @@ export const comparisonSubOpList: {
{ {
text: 'number of days from now', text: 'number of days from now',
value: 'number_of_days_from_now', value: 'number_of_days_from_now',
ignoreVal: true, ignoreVal: false,
includedTypes: [UITypes.Date, UITypes.DateTime], includedTypes: [UITypes.Date, UITypes.DateTime],
}, },
{ {

Loading…
Cancel
Save