Remove unnecessary IF in reports/utils.js (https://github.com/woocommerce/woocommerce-admin/pull/909)
This commit is contained in:
parent
56d3a69d13
commit
23d032d675
|
@ -226,12 +226,11 @@ export function getReportChartData( endpoint, dataType, query, select ) {
|
|||
isFetching = false;
|
||||
break;
|
||||
}
|
||||
if ( ! isReportStatsRequesting( endpoint, nextQuery ) ) {
|
||||
pagedData.push( _data );
|
||||
if ( i === totalPages ) {
|
||||
isFetching = false;
|
||||
break;
|
||||
}
|
||||
|
||||
pagedData.push( _data );
|
||||
if ( i === totalPages ) {
|
||||
isFetching = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue