Fix issue woocommerce/woocommerce-admin#2992 (order number in orders panel) (https://github.com/woocommerce/woocommerce-admin/pull/2994)
This commit is contained in:
parent
9a48461921
commit
c72abdc233
|
@ -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 ),
|
||||||
}
|
}
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in New Issue