Skip to content
This repository has been archived by the owner on Jan 24, 2023. It is now read-only.

Commit

Permalink
Merge pull request #4241 from cloudfoundry/fix-space-app-stats
Browse files Browse the repository at this point in the history
Ensure we filter out maxed results for local lists
  • Loading branch information
richard-cox committed May 6, 2020
2 parents 1146936 + 403e9e0 commit c90b07e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ export class PaginationMonitor<T = any, Y extends AppState = GeneralEntityAppSta
distinctUntilChanged(),
// Improve efficiency
observeOn(asapScheduler),
filter(pagination => this.hasPage(pagination) && !LocalPaginationHelpers.isPaginationMaxed(pagination)),
combineLatestOperator(entityObservable$),
withLatestFrom(allEntitiesObservable$),
map(([[pagination], allEntities]) => {
Expand Down

0 comments on commit c90b07e

Please sign in to comment.