From c72abdc2332a1d12b2735745410094661a95f0aa Mon Sep 17 00:00:00 2001 From: Deiva Magalhaes Date: Wed, 2 Oct 2019 13:49:06 -0700 Subject: [PATCH] Fix issue woocommerce/woocommerce-admin#2992 (order number in orders panel) (https://github.com/woocommerce/woocommerce-admin/pull/2994) --- .../client/header/activity-panel/panels/orders.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/woocommerce-admin/client/header/activity-panel/panels/orders.js b/plugins/woocommerce-admin/client/header/activity-panel/panels/orders.js index 6d6798148e6..8ebc6016415 100644 --- a/plugins/woocommerce-admin/client/header/activity-panel/panels/orders.js +++ b/plugins/woocommerce-admin/client/header/activity-panel/panels/orders.js @@ -95,7 +95,7 @@ class OrdersPanel extends Component { }; const orderCardTitle = order => { - const { extended_info, order_id } = order; + const { extended_info, order_id, order_number } = order; const { customer } = extended_info || {}; const customerUrl = customer.customer_id ? getNewPath( {}, '/analytics/customers', { @@ -113,7 +113,7 @@ class OrdersPanel extends Component { 'woocommerce-admin' ), { - orderNumber: order_id, + orderNumber: order_number, customerString: getCustomerString( order ), } ),