Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/pages/profiles/modification/max-allowed-keys.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ export enum MaxAllowedKeys {
VOLTAGE_INIT = 'VOLTAGE_INITIALIZATION',
PCC_MIN = 'PCC_MIN',
STATE_ESTIMATION = 'STATE_ESTIMATION',
BALANCE_ADJUSTEMENT = 'BALANCE_ADJUSTMENT',
DYNAMIC_SIMULATION = 'DYNAMIC_SIMULATION',
DYNAMIC_SECURITY = 'DYNAMIC_SECURITY_ANALYSIS',
DYNAMIC_MARGIN = 'DYNAMIC_MARGIN_CALCULATION',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ const ProfileModificationDialog: FunctionComponent<ProfileModificationDialogProp
[UserQuotaNb.VOLTAGE_INIT]: userQuotaSchema,
[UserQuotaNb.PCC_MIN]: userQuotaSchema,
[UserQuotaNb.STATE_ESTIMATION]: userQuotaSchema,
[UserQuotaNb.BALANCE_ADJUSTEMENT]: userQuotaSchema,
[UserQuotaNb.DYNAMIC_SIMULATION_INIT]: userQuotaSchema,
[UserQuotaNb.DYNAMIC_SECURITY_INIT]: userQuotaSchema,
[UserQuotaNb.DYNAMIC_MARGIN_INIT]: userQuotaSchema,
Expand Down Expand Up @@ -103,7 +102,6 @@ const ProfileModificationDialog: FunctionComponent<ProfileModificationDialogProp
[MaxAllowedKeys.VOLTAGE_INIT]: profileFormData[UserQuotaNb.VOLTAGE_INIT],
[MaxAllowedKeys.PCC_MIN]: profileFormData[UserQuotaNb.PCC_MIN],
[MaxAllowedKeys.STATE_ESTIMATION]: profileFormData[UserQuotaNb.STATE_ESTIMATION],
[MaxAllowedKeys.BALANCE_ADJUSTEMENT]: profileFormData[UserQuotaNb.BALANCE_ADJUSTEMENT],
[MaxAllowedKeys.DYNAMIC_SIMULATION]: profileFormData[UserQuotaNb.DYNAMIC_SIMULATION_INIT],
[MaxAllowedKeys.DYNAMIC_SECURITY]: profileFormData[UserQuotaNb.DYNAMIC_SECURITY_INIT],
[MaxAllowedKeys.DYNAMIC_MARGIN]: profileFormData[UserQuotaNb.DYNAMIC_MARGIN_INIT],
Expand Down Expand Up @@ -180,9 +178,6 @@ const ProfileModificationDialog: FunctionComponent<ProfileModificationDialogProp
[UserQuotaNb.STATE_ESTIMATION]: response.maxOperationQuota
? response.maxOperationQuota[MaxAllowedKeys.STATE_ESTIMATION]
: undefined,
[UserQuotaNb.BALANCE_ADJUSTEMENT]: response.maxOperationQuota
? response.maxOperationQuota[MaxAllowedKeys.BALANCE_ADJUSTEMENT]
: undefined,
[UserQuotaNb.DYNAMIC_SIMULATION_INIT]: response.maxOperationQuota
? response.maxOperationQuota[MaxAllowedKeys.DYNAMIC_SIMULATION]
: undefined,
Expand Down
15 changes: 4 additions & 11 deletions src/pages/profiles/modification/profile-modification-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -194,15 +194,15 @@ const ProfileModificationForm: FunctionComponent = () => {
</Grid>
<Grid size={4}>
<IntegerInput
name={UserQuotaNb.BALANCE_ADJUSTEMENT}
label="profiles.form.modification.numberOfBalanceAdjustement"
name={UserQuotaNb.DYNAMIC_SIMULATION_INIT}
label="profiles.form.modification.numberOfDynamicSimulation"
clearable={true}
/>
</Grid>
<Grid size={4}>
<IntegerInput
name={UserQuotaNb.DYNAMIC_SIMULATION_INIT}
label="profiles.form.modification.numberOfDynamicSimulation"
name={UserQuotaNb.DYNAMIC_SECURITY_INIT}
label="profiles.form.modification.numberOfDynamicSecurity"
clearable={true}
/>
</Grid>
Expand All @@ -216,13 +216,6 @@ const ProfileModificationForm: FunctionComponent = () => {
width: '100%',
}}
>
<Grid size={4}>
<IntegerInput
name={UserQuotaNb.DYNAMIC_SECURITY_INIT}
label="profiles.form.modification.numberOfDynamicSecurity"
clearable={true}
/>
</Grid>
<Grid size={4}>
<IntegerInput
name={UserQuotaNb.DYNAMIC_MARGIN_INIT}
Expand Down
1 change: 0 additions & 1 deletion src/pages/profiles/modification/user-quota-nb.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ export enum UserQuotaNb {
VOLTAGE_INIT = 'userQuotaVoltageInitNb',
PCC_MIN = 'userQuotaPccminNb',
STATE_ESTIMATION = 'userQuotaStateEstimationNb',
BALANCE_ADJUSTEMENT = 'userQuotaBalanceAdjustementNb',
DYNAMIC_SIMULATION_INIT = 'userQuotaDynamicSimulationInitNb',
DYNAMIC_SECURITY_INIT = 'userQuotaDynamicSecurityInitNb',
DYNAMIC_MARGIN_INIT = 'userQuotaDynamicMarginInitNb',
Expand Down
1 change: 0 additions & 1 deletion src/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@
"profiles.form.modification.numberOfVoltageInit": "Voltage initialization",
"profiles.form.modification.numberOfPccmin": "PCC N-1",
"profiles.form.modification.numberOfStateEstimation": "State estimation",
"profiles.form.modification.numberOfBalanceAdjustement": "Balance adjustment",
"profiles.form.modification.numberOfDynamicSimulation": "Dynamic simulation",
"profiles.form.modification.numberOfDynamicSecurity": "Dynamic security analysis",
"profiles.form.modification.numberOfDynamicMargin": "Dynamic Margin",
Expand Down
1 change: 0 additions & 1 deletion src/translations/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@
"profiles.form.modification.numberOfVoltageInit": "Initialisation du plan de tension",
"profiles.form.modification.numberOfPccmin": "PCC min N-1",
"profiles.form.modification.numberOfStateEstimation": "Estimation d'état",
"profiles.form.modification.numberOfBalanceAdjustement": "Équilibrage bilan",
"profiles.form.modification.numberOfDynamicSimulation": "Simulation dynamique",
"profiles.form.modification.numberOfDynamicSecurity": "Analyse de sécurité dynamique",
"profiles.form.modification.numberOfDynamicMargin": "Calculs de marge dynamique",
Expand Down
Loading