Skip to content

Commit

Permalink
Merge branch 'dev' into add-toast-notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
binh-dam-ibigroup authored Sep 21, 2023
2 parents e1c6453 + 30ae61a commit ffaedd5
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ class ConnectedItineraryBody extends Component {
} = this.props
const clonedItinerary = clone(itinerary)

const showViewTripButton = !config?.itinerary?.hideViewTripButton

// Support OTP1 flex messages in Trip Details
// Adding empty pickupBookingInfo and dropOffBookingInfo objects
// to a leg will trigger relevant flex pickup / dropoff descriptions in
Expand Down Expand Up @@ -130,7 +132,7 @@ class ConnectedItineraryBody extends Component {
showLegIcon
showMapButtonColumn={false}
showRouteFares={config.itinerary && config.itinerary.showRouteFares}
showViewTripButton
showViewTripButton={showViewTripButton}
TimeColumnContent={RealtimeTimeColumn}
toRouteAbbreviation={noop}
TransitLegSubheader={TransitLegSubheader}
Expand Down

0 comments on commit ffaedd5

Please sign in to comment.