Skip to content

Commit

Permalink
Fix for links
Browse files Browse the repository at this point in the history
  • Loading branch information
a-limyr committed Sep 9, 2024
1 parent 7fc64e7 commit 0acd126
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client/src/components/ItineraryList/ItineraryLegDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export function ItineraryLegDetails({ leg, isLast }: { leg: Leg; isLast: boolean
<a
title={leg.line?.id}
target={'_blank'}
rel={'noreferrer'}
href={graphiQLUrl + '&query=' + formattedLineQuery + '&variables=' + formattedLineID}
>
{leg.line.publicCode} {leg.toEstimatedCall?.destinationDisplay?.frontText}
Expand All @@ -45,6 +46,7 @@ export function ItineraryLegDetails({ leg, isLast }: { leg: Leg; isLast: boolean
<a
title={leg.fromPlace.quay?.id}
target={'_blank'}
rel={'noreferrer'}
href={
graphiQLUrl + '&query=' + formattedQuayQuery + '&variables=' + formattedFromPlaceID
}
Expand All @@ -58,6 +60,7 @@ export function ItineraryLegDetails({ leg, isLast }: { leg: Leg; isLast: boolean
<a
title={leg.toPlace.quay?.id}
target={'_blank'}
rel={'noreferrer'}
href={graphiQLUrl + '&query=' + formattedQuayQuery + '&variables=' + formattedToPlaceID}
>
{leg.toPlace.name}
Expand Down

0 comments on commit 0acd126

Please sign in to comment.