Skip to content

Commit

Permalink
Merge branch 'main' into limit-sets-ui
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathieu-Deharbe authored Dec 20, 2024
2 parents 873acc1 + dd28fd0 commit 48bbe12
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,15 +165,16 @@ const ShortCircuitFields: FunctionComponent<ShortCircuitFieldsProps> = ({ resetA
<GridItem size={4}>{statusToShow}</GridItem>
</Grid>
<GridSection title="ShortCircuitCharacteristics" heading={4} />
<Grid container>
<GridItem>{loads}</GridItem>
<GridItem>{shuntCompensators}</GridItem>
</Grid>
<Grid container marginLeft={4}>
<GridItem size={4}>{vsc}</GridItem>
<GridItem size={8}>{neutralPosition}</GridItem>
<Grid container spacing={5}>
<Grid item>
<GridItem>{loads}</GridItem>
<GridItem>{shuntCompensators}</GridItem>
</Grid>
<Grid item xs={8}>
<GridItem>{vsc}</GridItem>
<GridItem>{neutralPosition}</GridItem>
</Grid>
</Grid>

<GridSection title="ShortCircuitVoltageProfileMode" heading={4} />
<Grid container>
<GridItem size={12}>{initialVoltageProfileModeField}</GridItem>
Expand Down
2 changes: 1 addition & 1 deletion src/services/spreadsheet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import { backendFetchJson } from '@gridsuite/commons-ui';
import { UUID } from 'crypto';

const PREFIX_SPREADSHEET_CONFIG_QUERIES = import.meta.env.VITE_API_GATEWAY + '/spreadsheet-config';
const PREFIX_SPREADSHEET_CONFIG_QUERIES = import.meta.env.VITE_API_GATEWAY + '/study-config';

export function getSpreadsheetModel(spreadsheetModelUuid: UUID) {
const fetchUrl = `${PREFIX_SPREADSHEET_CONFIG_QUERIES}/v1/spreadsheet-configs/${spreadsheetModelUuid}`;
Expand Down
2 changes: 1 addition & 1 deletion src/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1334,7 +1334,7 @@
"ShortCircuitCharacteristics": "Features considered",
"ShortCircuitVoltageProfileMode": "Initial voltage profile",
"shortCircuitLoads": "Loads",
"shortCircuitHvdc": "HVDC(VSC)",
"shortCircuitHvdc": "HVDC (VSC)",
"shortCircuitShuntCompensators": "Shunt compensators",
"shortCircuitNeutralPosition": "Tap position of ratio tap changers",
"shortCircuitNominalVoltage": "Nominal voltage (kV)",
Expand Down
2 changes: 1 addition & 1 deletion src/translations/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -1332,7 +1332,7 @@
"ShortCircuitCharacteristics": "Caractéristiques prises en compte",
"ShortCircuitVoltageProfileMode": "Plan de tension initial",
"shortCircuitLoads": "Charges",
"shortCircuitHvdc": "HVDC(VSC)",
"shortCircuitHvdc": "HVDC (VSC)",
"shortCircuitShuntCompensators": "MCS",
"shortCircuitNeutralPosition": "Prises courantes des régleurs en charge",
"shortCircuitNominalVoltage": "Tension nominale (kV)",
Expand Down

0 comments on commit 48bbe12

Please sign in to comment.