From aef66dc4bbecdf0950df2173c818ff5eac0ccc06 Mon Sep 17 00:00:00 2001 From: JeraldJF Date: Tue, 7 Jan 2025 17:09:02 +0530 Subject: [PATCH] fix #OBS-I466 lower case of dataset id --- web-console-v2/src/components/Charts/GaugeChart.tsx | 2 ++ .../src/pages/DatasetCreation/Ingestion/Ingestion.tsx | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/web-console-v2/src/components/Charts/GaugeChart.tsx b/web-console-v2/src/components/Charts/GaugeChart.tsx index ebb4fa93..44c9f487 100644 --- a/web-console-v2/src/components/Charts/GaugeChart.tsx +++ b/web-console-v2/src/components/Charts/GaugeChart.tsx @@ -111,6 +111,8 @@ const GaugeChart: React.FC = (props) => { fontSize: 30, transform: 'translate(0px, -19px)', zIndex: 3, + fontFamily: 'Montserrat', + fontWeight: 700, }, [`& .${gaugeClasses.valueArc}`]: { fill: '#64B656', diff --git a/web-console-v2/src/pages/DatasetCreation/Ingestion/Ingestion.tsx b/web-console-v2/src/pages/DatasetCreation/Ingestion/Ingestion.tsx index af5460cf..e14202ce 100644 --- a/web-console-v2/src/pages/DatasetCreation/Ingestion/Ingestion.tsx +++ b/web-console-v2/src/pages/DatasetCreation/Ingestion/Ingestion.tsx @@ -424,7 +424,7 @@ const Ingestion = () => { if(datasetIdParam === '') { if (nameRegex.test(datasetName)) { const generatedId = formatDatasetDetails(datasetName); - setDatasetId(generatedId); + setDatasetId(_.toLower(generatedId)); } else { setNameError('The field should exclude any special characters, permitting only alphabets, numbers, ".", "-", and "_".'); }