This commit is contained in:
Albert Juhé Lluveras 2018-11-22 14:49:52 -06:00 committed by GitHub
parent 56d3a69d13
commit 23d032d675
1 changed files with 5 additions and 6 deletions

View File

@ -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;
}
}