Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ class ConnectedItineraryBody extends Component {
LegIcon,
setActiveLeg,
setViewedTrip,
showLegDiagram
showLegDiagram,
timeOptions
} = this.props

return (
Expand All @@ -62,6 +63,7 @@ class ConnectedItineraryBody extends Component {
showLegIcon
showMapButtonColumn={false}
showViewTripButton
timeOptions={timeOptions}
toRouteAbbreviation={noop}
TransitLegSubheader={TransitLegSubheader}
TransitLegSummary={TransitLegSummary}
Expand Down
5 changes: 3 additions & 2 deletions lib/components/narrative/line-itin/line-itinerary.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ export default class LineItinerary extends NarrativeItinerary {
itinerary,
itineraryFooter,
LegIcon,
onClick,
setActiveLeg,
showRealtimeAnnotation,
onClick,
timeFormat
} = this.props

Expand All @@ -71,8 +71,8 @@ export default class LineItinerary extends NarrativeItinerary {
companies={companies}
itinerary={itinerary}
LegIcon={LegIcon}
timeOptions={timeOptions}
onClick={onClick}
timeOptions={timeOptions}
/>
{showRealtimeAnnotation && <SimpleRealtimeAnnotation />}
{active || expanded
Expand All @@ -83,6 +83,7 @@ export default class LineItinerary extends NarrativeItinerary {
// (will cause error when clicking on itinerary suymmary).
// Use the one passed by NarrativeItineraries instead.
setActiveLeg={setActiveLeg}
timeOptions={timeOptions}
/>
: null}
{itineraryFooter}
Expand Down