From 6dc48128cdd6559e32ba09b944695a4fd4490ca9 Mon Sep 17 00:00:00 2001 From: Omer Gery <68545675+OmerGery@users.noreply.github.com> Date: Tue, 9 Jan 2024 09:00:37 +0200 Subject: [PATCH] Update index.tsx --- .../ActiveRide/RideDrawer/RideOptions/RideButtons/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/client/Locomotion/src/pages/ActiveRide/RideDrawer/RideOptions/RideButtons/index.tsx b/examples/client/Locomotion/src/pages/ActiveRide/RideDrawer/RideOptions/RideButtons/index.tsx index a4002b253..d896a8546 100644 --- a/examples/client/Locomotion/src/pages/ActiveRide/RideDrawer/RideOptions/RideButtons/index.tsx +++ b/examples/client/Locomotion/src/pages/ActiveRide/RideDrawer/RideOptions/RideButtons/index.tsx @@ -88,7 +88,7 @@ const RideButtons = ({ const paymentMethodNotAllowedOnService = chosenService && ride?.paymentMethodId && !chosenService.allowedPaymentMethods.includes(getPaymentMethod(ride.paymentMethodId)) - && serviceEstimations; + && serviceEstimations?.length > 0; const checkFutureRidesSetting = async () => { const futureRidesEnabled = await getSettingByKey(