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;
|
isFetching = false;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if ( ! isReportStatsRequesting( endpoint, nextQuery ) ) {
|
|
||||||
pagedData.push( _data );
|
pagedData.push( _data );
|
||||||
if ( i === totalPages ) {
|
if ( i === totalPages ) {
|
||||||
isFetching = false;
|
isFetching = false;
|
||||||
break;
|
break;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue