From 402558e9cd7aaf32a01feb19ab996d23e8c9aec1 Mon Sep 17 00:00:00 2001
From: Amy Corson <115499534+amy-corson-ibigroup@users.noreply.github.com>
Date: Wed, 17 Jan 2024 13:39:59 -0600
Subject: [PATCH] Update
packages/itinerary-body/src/ItineraryBody/place-row.tsx
Co-authored-by: miles-grant-ibigroup <86619099+miles-grant-ibigroup@users.noreply.github.com>
---
packages/itinerary-body/src/ItineraryBody/place-row.tsx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/packages/itinerary-body/src/ItineraryBody/place-row.tsx b/packages/itinerary-body/src/ItineraryBody/place-row.tsx
index d1e652878..364854d59 100755
--- a/packages/itinerary-body/src/ItineraryBody/place-row.tsx
+++ b/packages/itinerary-body/src/ItineraryBody/place-row.tsx
@@ -103,8 +103,7 @@ export default function PlaceRow({
{/* Custom rendering of the departure/arrival time of the specified leg. */}
{!isDestination &&
- leg.accessibilityScore !== null &&
- leg.accessibilityScore > -1 && (
+ !(leg.accessibilityScore === undefined) && (
// TODO: Reorder markup so accessibility info doesn't fall between time and destination.