Skip to content

Commit 7147a2a

Browse files
Merge pull request #1367 from opentripplanner/realtime-destination
remove realtime status from destination stop
2 parents 519b06d + d0ec6cf commit 7147a2a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: lib/components/narrative/line-itin/realtime-time-column.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ function RealtimeTimeColumn({ isDestination, leg }: Props): ReactElement {
3333
}
3434

3535
const timeMillis = isDestination ? leg.endTime : leg.startTime
36-
const isRealtimeTransitLeg = isTransitLeg(leg) && leg.realTime
36+
const isRealtimeTransitLeg =
37+
!isDestination && isTransitLeg(leg) && leg.realTime
3738

3839
// For non-transit legs show only the scheduled time.
3940
if (!isTransitLeg(leg)) {

0 commit comments

Comments
 (0)