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 35236c392..a4002b253 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 @@ -60,6 +60,7 @@ const RideButtons = ({ loadFutureBookingDays, futureBookingDays, businessAccountId, + serviceEstimations, } = useContext(RidePageContext); @@ -86,7 +87,8 @@ const RideButtons = ({ const [tempSelectedDate, setTempSelectedDate] = useState(firstDate()); const paymentMethodNotAllowedOnService = chosenService && ride?.paymentMethodId - && !chosenService.allowedPaymentMethods.includes(getPaymentMethod(ride.paymentMethodId)); + && !chosenService.allowedPaymentMethods.includes(getPaymentMethod(ride.paymentMethodId)) + && serviceEstimations; const checkFutureRidesSetting = async () => { const futureRidesEnabled = await getSettingByKey(