From 299528c48d8ba4db4650ce1d6b5c8702a0438916 Mon Sep 17 00:00:00 2001 From: andrei Date: Tue, 8 Oct 2024 14:24:27 +0500 Subject: [PATCH] ._. --- src/pages/DeliveryOrderDetails.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/DeliveryOrderDetails.jsx b/src/pages/DeliveryOrderDetails.jsx index 3fe65f5..3cb9ff5 100644 --- a/src/pages/DeliveryOrderDetails.jsx +++ b/src/pages/DeliveryOrderDetails.jsx @@ -119,11 +119,11 @@ const DeliveryOrderDetails = () => { const coords = await Promise.all( accessories.map(async (accessory) => { - if (accessory.latitude && accessory.longitude) { + if (accessory.city_x && accessory.city_y) { return { city: accessory.city_name, - latitude: accessory.latitude, - longitude: accessory.longitude, + latitude: accessory.city_x, + longitude: accessory.city_y, accessory_name: accessory.accessory_name + Math.round(