From e977b51f41f25b349304cc890cd576aca7738448 Mon Sep 17 00:00:00 2001
From: Laurent LAPORTE <43534797+laurent-laporte-pro@users.noreply.github.com>
Date: Tue, 16 Apr 2024 13:18:26 +0200
Subject: [PATCH] feat(config-ui): replace underscore with space in Thematic
 Trimming variable names (#2010)

---
 .../dialogs/ThematicTrimmingDialog/utils.ts   | 54 +++++++++----------
 1 file changed, 27 insertions(+), 27 deletions(-)

diff --git a/webapp/src/components/App/Singlestudy/explore/Configuration/General/dialogs/ThematicTrimmingDialog/utils.ts b/webapp/src/components/App/Singlestudy/explore/Configuration/General/dialogs/ThematicTrimmingDialog/utils.ts
index d05f76f289..d5059668d3 100644
--- a/webapp/src/components/App/Singlestudy/explore/Configuration/General/dialogs/ThematicTrimmingDialog/utils.ts
+++ b/webapp/src/components/App/Singlestudy/explore/Configuration/General/dialogs/ThematicTrimmingDialog/utils.ts
@@ -173,33 +173,33 @@ const keysMap: Record<keyof ThematicTrimmingFormFields, string> = {
   stsInjByPlant: "STS INJ BY PLANT",
   stsWithdrawalByPlant: "STS WITHDRAWAL BY PLANT",
   stsLvlByPlant: "STS LVL BY PLANT",
-  pspOpenInjection: "PSP_OPEN_INJECTION",
-  pspOpenWithdrawal: "PSP_OPEN_WITHDRAWAL",
-  pspOpenLevel: "PSP_OPEN_LEVEL",
-  pspClosedInjection: "PSP_CLOSED_INJECTION",
-  pspClosedWithdrawal: "PSP_CLOSED_WITHDRAWAL",
-  pspClosedLevel: "PSP_CLOSED_LEVEL",
-  pondageInjection: "PONDAGE_INJECTION",
-  pondageWithdrawal: "PONDAGE_WITHDRAWAL",
-  pondageLevel: "PONDAGE_LEVEL",
-  batteryInjection: "BATTERY_INJECTION",
-  batteryWithdrawal: "BATTERY_WITHDRAWAL",
-  batteryLevel: "BATTERY_LEVEL",
-  other1Injection: "OTHER1_INJECTION",
-  other1Withdrawal: "OTHER1_WITHDRAWAL",
-  other1Level: "OTHER1_LEVEL",
-  other2Injection: "OTHER2_INJECTION",
-  other2Withdrawal: "OTHER2_WITHDRAWAL",
-  other2Level: "OTHER2_LEVEL",
-  other3Injection: "OTHER3_INJECTION",
-  other3Withdrawal: "OTHER3_WITHDRAWAL",
-  other3Level: "OTHER3_LEVEL",
-  other4Injection: "OTHER4_INJECTION",
-  other4Withdrawal: "OTHER4_WITHDRAWAL",
-  other4Level: "OTHER4_LEVEL",
-  other5Injection: "OTHER5_INJECTION",
-  other5Withdrawal: "OTHER5_WITHDRAWAL",
-  other5Level: "OTHER5_LEVEL",
+  pspOpenInjection: "PSP OPEN INJECTION",
+  pspOpenWithdrawal: "PSP OPEN WITHDRAWAL",
+  pspOpenLevel: "PSP OPEN LEVEL",
+  pspClosedInjection: "PSP CLOSED INJECTION",
+  pspClosedWithdrawal: "PSP CLOSED WITHDRAWAL",
+  pspClosedLevel: "PSP CLOSED LEVEL",
+  pondageInjection: "PONDAGE INJECTION",
+  pondageWithdrawal: "PONDAGE WITHDRAWAL",
+  pondageLevel: "PONDAGE LEVEL",
+  batteryInjection: "BATTERY INJECTION",
+  batteryWithdrawal: "BATTERY WITHDRAWAL",
+  batteryLevel: "BATTERY LEVEL",
+  other1Injection: "OTHER1 INJECTION",
+  other1Withdrawal: "OTHER1 WITHDRAWAL",
+  other1Level: "OTHER1 LEVEL",
+  other2Injection: "OTHER2 INJECTION",
+  other2Withdrawal: "OTHER2 WITHDRAWAL",
+  other2Level: "OTHER2 LEVEL",
+  other3Injection: "OTHER3 INJECTION",
+  other3Withdrawal: "OTHER3 WITHDRAWAL",
+  other3Level: "OTHER3 LEVEL",
+  other4Injection: "OTHER4 INJECTION",
+  other4Withdrawal: "OTHER4 WITHDRAWAL",
+  other4Level: "OTHER4 LEVEL",
+  other5Injection: "OTHER5 INJECTION",
+  other5Withdrawal: "OTHER5 WITHDRAWAL",
+  other5Level: "OTHER5 LEVEL",
   // Study version >= 880
   stsCashflowByCluster: "STS CASHFLOW BY CLUSTER",
 };