This commit is contained in:
Deiva Magalhaes 2019-10-02 13:49:06 -07:00 committed by Paul Sealock
parent 9a48461921
commit c72abdc233
1 changed files with 2 additions and 2 deletions

View File

@ -95,7 +95,7 @@ class OrdersPanel extends Component {
}; };
const orderCardTitle = order => { const orderCardTitle = order => {
const { extended_info, order_id } = order; const { extended_info, order_id, order_number } = order;
const { customer } = extended_info || {}; const { customer } = extended_info || {};
const customerUrl = customer.customer_id const customerUrl = customer.customer_id
? getNewPath( {}, '/analytics/customers', { ? getNewPath( {}, '/analytics/customers', {
@ -113,7 +113,7 @@ class OrdersPanel extends Component {
'woocommerce-admin' 'woocommerce-admin'
), ),
{ {
orderNumber: order_id, orderNumber: order_number,
customerString: getCustomerString( order ), customerString: getCustomerString( order ),
} }
), ),