From 03e15251451e2a0c52b6f8e00700c0483b8c9ef7 Mon Sep 17 00:00:00 2001 From: hatim dinia Date: Tue, 17 Dec 2024 15:02:24 +0100 Subject: [PATCH] refactor(ui-thermal): update thermal cluster group names to lowercase --- .../Modelization/Areas/Thermal/Fields.tsx | 1 + .../Modelization/Areas/Thermal/utils.ts | 20 +++++++++---------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/webapp/src/components/App/Singlestudy/explore/Modelization/Areas/Thermal/Fields.tsx b/webapp/src/components/App/Singlestudy/explore/Modelization/Areas/Thermal/Fields.tsx index 3aaf182b48..7d3d5bb0de 100644 --- a/webapp/src/components/App/Singlestudy/explore/Modelization/Areas/Thermal/Fields.tsx +++ b/webapp/src/components/App/Singlestudy/explore/Modelization/Areas/Thermal/Fields.tsx @@ -59,6 +59,7 @@ function Fields() { name="group" control={control} options={THERMAL_GROUPS} + startCaseLabel={false} sx={{ alignSelf: "center", }} diff --git a/webapp/src/components/App/Singlestudy/explore/Modelization/Areas/Thermal/utils.ts b/webapp/src/components/App/Singlestudy/explore/Modelization/Areas/Thermal/utils.ts index 3a5895c8f6..6747954f6b 100644 --- a/webapp/src/components/App/Singlestudy/explore/Modelization/Areas/Thermal/utils.ts +++ b/webapp/src/components/App/Singlestudy/explore/Modelization/Areas/Thermal/utils.ts @@ -42,16 +42,16 @@ export const TS_GEN_MATRIX_COLS = [ ] as const; export const THERMAL_GROUPS = [ - "Gas", - "Hard Coal", - "Lignite", - "Mixed fuel", - "Nuclear", - "Oil", - "Other 1", - "Other 2", - "Other 3", - "Other 4", + "gas", + "hard coal", + "lignite", + "mixed fuel", + "nuclear", + "oil", + "other 1", + "other 2", + "other 3", + "other 4", ] as const; export const THERMAL_POLLUTANTS = [