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:
Paul Sealock 2019-01-17 13:26:11 +13:00 committed by GitHub
commit ddcaf3967d
1 changed files with 5 additions and 8 deletions

View File

@ -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"