From 0dfdf9028cdc6ef949e47d3f08db448f43af50b3 Mon Sep 17 00:00:00 2001 From: Shams mosowi Date: Mon, 9 Nov 2020 07:54:46 +0800 Subject: [PATCH] add keys for operator options --- www/src/components/Table/Filters/index.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/www/src/components/Table/Filters/index.tsx b/www/src/components/Table/Filters/index.tsx index 3beb2945..f5db173c 100644 --- a/www/src/components/Table/Filters/index.tsx +++ b/www/src/components/Table/Filters/index.tsx @@ -297,6 +297,10 @@ const Filters = () => { freeText={true} /> ); + + case FieldType.date: + case FieldType.dateTime: + return <>//TODO:Date Time picker; default: return <>Not available; // return ; @@ -442,7 +446,7 @@ const Filters = () => { Select Condition {operators.map((operator) => ( - {operator.label} + {operator.label} ))}