Merge pull request woocommerce/woocommerce-admin#1325 from woocommerce/fix/customers-extended-table-data
Customers Report: remove extended data call
This commit is contained in:
commit
ddcaf3967d
|
@ -115,9 +115,11 @@ export default class CustomersReportTable extends Component {
|
||||||
name
|
name
|
||||||
);
|
);
|
||||||
|
|
||||||
const dateRegistered = date_registered
|
const dateRegistered = date_registered ? (
|
||||||
? <Date date={ date_registered } visibleFormat={ defaultTableDateFormat } />
|
<Date date={ date_registered } visibleFormat={ defaultTableDateFormat } />
|
||||||
: '—';
|
) : (
|
||||||
|
'—'
|
||||||
|
);
|
||||||
|
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
|
@ -174,11 +176,6 @@ export default class CustomersReportTable extends Component {
|
||||||
return (
|
return (
|
||||||
<ReportTable
|
<ReportTable
|
||||||
endpoint="customers"
|
endpoint="customers"
|
||||||
extendItemsMethodNames={ {
|
|
||||||
load: 'getCustomers',
|
|
||||||
getError: 'getCustomersError',
|
|
||||||
isRequesting: 'isGetCustomersRequesting',
|
|
||||||
} }
|
|
||||||
getHeadersContent={ this.getHeadersContent }
|
getHeadersContent={ this.getHeadersContent }
|
||||||
getRowsContent={ this.getRowsContent }
|
getRowsContent={ this.getRowsContent }
|
||||||
itemIdField="id"
|
itemIdField="id"
|
||||||
|
|
Loading…
Reference in New Issue