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,14 +226,13 @@ 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;
} }
} }
}
if ( isFetching ) { if ( isFetching ) {
return { ...response, isRequesting: true }; return { ...response, isRequesting: true };