Fix order organization info
This commit is contained in:
@@ -89,7 +89,7 @@ export const fromWCOrder = (WCOrder) => {
|
||||
isOwner: comment['is_owner']
|
||||
})) : [],
|
||||
deliveryAddress: formatAddress(WCOrder.shipping),
|
||||
customer: WCOrder.customer,
|
||||
commercialLead: WCOrder['commercial_lead'],
|
||||
customer: WCOrder.customer || {},
|
||||
commercialLead: WCOrder['commercial_lead'] || {},
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user