mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-26 18:42:49 +00:00
leg-aware capacity and wagon sharing
This commit is contained in:
@@ -89,7 +89,14 @@ export function ExportTrainPicker({
|
||||
<TrainFront size={16} color={selected ? SELECTED : "#5B6B7A"} />
|
||||
<Box>
|
||||
<Text fz="13px" fw={600} c="#10202F">
|
||||
Departs {departureLabel(option.departure)} EAT
|
||||
{option.trainNumber
|
||||
? `Train ${option.trainNumber}`
|
||||
: (option.trainName ?? "Train")}
|
||||
{option.trainNumber && option.trainName
|
||||
? ` · ${option.trainName}`
|
||||
: ""}
|
||||
{" — departs "}
|
||||
{departureLabel(option.departure)} EAT
|
||||
</Text>
|
||||
<Text fz="12px" c="dimmed">
|
||||
{option.freeWagons} wagon{option.freeWagons === 1 ? "" : "s"} free
|
||||
|
||||
Reference in New Issue
Block a user