From 22a4f0127df3a626086f5736b0e10ed2719d7d0b Mon Sep 17 00:00:00 2001 From: chenos Date: Thu, 21 Jul 2022 09:41:01 +0800 Subject: [PATCH] fix: wrong operator --- .../collection-manager/interfaces/properties/operators.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/core/client/src/collection-manager/interfaces/properties/operators.ts b/packages/core/client/src/collection-manager/interfaces/properties/operators.ts index 60a909d07..0f4584ccb 100644 --- a/packages/core/client/src/collection-manager/interfaces/properties/operators.ts +++ b/packages/core/client/src/collection-manager/interfaces/properties/operators.ts @@ -52,8 +52,8 @@ export const datetime = [ { label: "{{ t('is after') }}", value: '$dateAfter' }, { label: "{{ t('is on or after') }}", value: '$dateNotBefore' }, { label: "{{ t('is on or before') }}", value: '$dateNotAfter' }, - { label: "{{ t('is empty') }}", value: '$null', noValue: true }, - { label: "{{ t('is not empty') }}", value: '$notNull', noValue: true }, + { label: "{{ t('is empty') }}", value: '$empty', noValue: true }, + { label: "{{ t('is not empty') }}", value: '$notEmpty', noValue: true }, ]; export const number = [ @@ -125,8 +125,8 @@ export const enumType = [ export const time = [ { label: '{{t("is")}}', value: '$eq', selected: true }, { label: '{{t("is not")}}', value: '$neq' }, - { label: '{{t("is empty")}}', value: '$null', noValue: true }, - { label: '{{t("is not empty")}}', value: '$notNull', noValue: true }, + { label: '{{t("is empty")}}', value: '$empty', noValue: true }, + { label: '{{t("is not empty")}}', value: '$notEmpty', noValue: true }, ]; export const boolean = [