From 44ae098edba76916148fcd5aa557aed0d0585a24 Mon Sep 17 00:00:00 2001 From: Harish Kumar Gangula Date: Tue, 7 Jan 2025 15:20:29 +0530 Subject: [PATCH] fix #OBS-I479 timestamp typo fix --- .../src/pages/DatasetCreation/Processing/Processing.tsx | 2 +- web-console-v2/src/pages/DatasetCreation/Storage/Storage.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web-console-v2/src/pages/DatasetCreation/Processing/Processing.tsx b/web-console-v2/src/pages/DatasetCreation/Processing/Processing.tsx index 7f601ee7..943592bb 100644 --- a/web-console-v2/src/pages/DatasetCreation/Processing/Processing.tsx +++ b/web-console-v2/src/pages/DatasetCreation/Processing/Processing.tsx @@ -211,7 +211,7 @@ const Processing: React.FC = () => { const transformationOptionsWithType = extractTransformationOptionsWithType(datasetData?.data_schema || {}); - const excludedKeywords = ['date', 'timestamp', 'datetime', 'epoch']; + const excludedKeywords = ['date', 'timestamp', 'date-time', 'epoch']; const dedupeOptions = _.compact(transformationOptionsWithType.map((option: any) =>{ if (!excludedKeywords.includes(option.data_type)) { diff --git a/web-console-v2/src/pages/DatasetCreation/Storage/Storage.tsx b/web-console-v2/src/pages/DatasetCreation/Storage/Storage.tsx index c489e0ed..3a6a661e 100644 --- a/web-console-v2/src/pages/DatasetCreation/Storage/Storage.tsx +++ b/web-console-v2/src/pages/DatasetCreation/Storage/Storage.tsx @@ -64,7 +64,7 @@ const Storage = () => { const datasetConfig = _.get(fetchData, 'dataset_config', {}); const datasetConfig_indexing = _.get(fetchData, 'dataset_config.indexing_config', {}); const datasetConfig_keys = _.get(fetchData, 'dataset_config.keys_config', {}); - const timeStampTypes = ['date', 'timestamp', 'datetime', 'epoch']; + const timeStampTypes = ['date', 'timestamp', 'date-time', 'epoch']; useEffect(() => { if(fetchDatasetType) {