Skip to content

Commit

Permalink
front: bump ui from 0.0.59 to 0.0.61 except ui core
Browse files Browse the repository at this point in the history
Signed-off-by: theocrsb <[email protected]>
  • Loading branch information
theocrsb committed Jan 9, 2025
1 parent 0e377b3 commit cf24f19
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 50 deletions.
83 changes: 40 additions & 43 deletions front/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions front/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
"@openapi-contrib/openapi-schema-to-json-schema": "^5.1.0",
"@osrd-project/netzgrafik-frontend": "0.0.0-snapshot.37949a66933e8e1552c9b8e54f702ec491afd415",
"@osrd-project/ui-core": "^0.0.59",
"@osrd-project/ui-icons": "^0.0.59",
"@osrd-project/ui-manchette": "^0.0.59",
"@osrd-project/ui-manchette-with-spacetimechart": "^0.0.59",
"@osrd-project/ui-spacetimechart": "^0.0.59",
"@osrd-project/ui-speedspacechart": "^0.0.59",
"@osrd-project/ui-icons": "^0.0.61",
"@osrd-project/ui-manchette": "^0.0.61",
"@osrd-project/ui-manchette-with-spacetimechart": "^0.0.61",
"@osrd-project/ui-spacetimechart": "^0.0.61",
"@osrd-project/ui-speedspacechart": "^0.0.61",
"@react-pdf/renderer": "^4.1.6",
"@redux-devtools/extension": "^3.3.0",
"@reduxjs/toolkit": "^2.5.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,14 @@ const formatMrsp = (mrsp: SimulationResponseSuccess['mrsp']) => ({
});

export const formatStops = (operationalPoints: PathPropertiesFormatted['operationalPoints']) =>
operationalPoints.map(({ position, extensions: { identifier, sncf } = {} }) => ({
operationalPoints.map(({ position, weight, extensions: { identifier, sncf } = {} }) => ({
position: {
start: mmToKm(position),
},
value: identifier ? `${identifier.name} ${sncf ? sncf.ch : ''}` : '',
value: {
name: identifier ? `${identifier.name} ${sncf ? sncf.ch : ''}` : '',
weight,
},
}));

export const formatElectrifications = (
Expand Down

0 comments on commit cf24f19

Please sign in to comment.