aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/app/routes/stops-$id.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/app/routes/stops-$id.tsx')
-rw-r--r--src/frontend/app/routes/stops-$id.tsx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/frontend/app/routes/stops-$id.tsx b/src/frontend/app/routes/stops-$id.tsx
index 7b11a95..4d96928 100644
--- a/src/frontend/app/routes/stops-$id.tsx
+++ b/src/frontend/app/routes/stops-$id.tsx
@@ -35,6 +35,8 @@ export interface ConsolidatedCirculation {
orientationDegrees: number;
shapeIndex?: number;
};
+ isPreviousTrip?: boolean;
+ previousTripShapeId?: string;
}
export const getCirculationId = (c: ConsolidatedCirculation): string => {
@@ -279,6 +281,8 @@ export default function Estimates() {
line: c.line,
route: c.route,
currentPosition: c.currentPosition,
+ isPreviousTrip: c.isPreviousTrip,
+ previousTripShapeId: c.previousTripShapeId,
schedule: c.schedule
? {
shapeId: c.schedule.shapeId,