diff --git a/app/component/AlternativeLegsInfo.js b/app/component/AlternativeLegsInfo.js index 65ed5a74dc..307b2f8ceb 100644 --- a/app/component/AlternativeLegsInfo.js +++ b/app/component/AlternativeLegsInfo.js @@ -20,8 +20,22 @@ const AlternativeLegsInfo = ({ legs, showAlternativeLegs, toggle }) => { className="alternative-leg-info" id="alternative-legs" values={{ - leg1: legs[0].route.shortName, - leg2: legs[1].route.shortName, + leg1: ( + <> + + + {legs[0].route.shortName?.toLowerCase()} + + + ), + leg2: ( + <> + + + {legs[1].route.shortName?.toLowerCase()} + + + ), startTime1: ( { className="alternative-leg-info" id="alternative-legs-single" values={{ - leg1: legs[0].route.shortName, + leg1: ( + <> + + + {legs[0].route.shortName?.toLowerCase()} + + + ), startTime1: ( {renderWithLink( <> -
{shortName}
+ + {shortName?.toLowerCase()} {icon && ( <>