._.
This commit is contained in:
parent
5d542b7bb4
commit
299528c48d
@ -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(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user