Skip to content

Commit

Permalink
feat(ui-config): add a fieldset in 'Adequacy Patch'
Browse files Browse the repository at this point in the history
  • Loading branch information
skamril committed Jun 18, 2024
1 parent ded87b6 commit 948e525
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions webapp/public/locales/en/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,7 @@
"study.configuration.optimization.simplexOptimizationRange": "Simplex optimization range",
"study.configuration.adequacyPatch.tab.general": "General",
"study.configuration.adequacyPatch.tab.perimeter": "Perimeter",
"study.configuration.adequacyPatch.legend.operatingParameters": "Operating parameters",
"study.configuration.adequacyPatch.legend.localMatchingRule": "Local matching rule",
"study.configuration.adequacyPatch.legend.curtailmentSharing": "Curtailment sharing",
"study.configuration.adequacyPatch.legend.advanced": "Advanced",
Expand Down
1 change: 1 addition & 0 deletions webapp/public/locales/fr/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,7 @@
"study.configuration.optimization.simplexOptimizationRange": "Simplex optimization range",
"study.configuration.adequacyPatch.tab.general": "Général",
"study.configuration.adequacyPatch.tab.perimeter": "Périmètre",
"study.configuration.adequacyPatch.legend.operatingParameters": "Paramètres de fonctionnement",
"study.configuration.adequacyPatch.legend.localMatchingRule": "Règle de correspondance locale",
"study.configuration.adequacyPatch.legend.curtailmentSharing": "Partage de réduction",
"study.configuration.adequacyPatch.legend.advanced": "Avancée",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,12 @@ function Fields() {

return (
<Box>
<Fieldset fullFieldWidth>
<Fieldset
legend={t(
"study.configuration.adequacyPatch.legend.operatingParameters",
)}
fullFieldWidth
>
<SwitchFE
label={t("study.configuration.adequacyPatch.enableAdequacyPatch")}
name="enableAdequacyPatch"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ function AdequacyPatch() {
),
},
]}
TabListProps={{ sx: { mt: -2 } }}
/>
);
}
Expand Down

0 comments on commit 948e525

Please sign in to comment.