diff options
| author | Ariel Costas Guerrero <ariel@costas.dev> | 2025-11-22 18:23:33 +0100 |
|---|---|---|
| committer | Ariel Costas Guerrero <ariel@costas.dev> | 2025-11-22 18:34:02 +0100 |
| commit | de6f38f26cfb7c311fc9e4fb051191df12b8b042 (patch) | |
| tree | e1753c6fc17889ee17392164b1a4cb168c8c7b49 /src/frontend/app/routes/stops-$id.tsx | |
| parent | be2391954dd7653f1eecb4f650228d41038ff27b (diff) | |
feat: Implement previous trip shape handling in VigoController and update related components for improved trip tracking
Diffstat (limited to 'src/frontend/app/routes/stops-$id.tsx')
| -rw-r--r-- | src/frontend/app/routes/stops-$id.tsx | 4 |
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, |
