TSK-1484: Fixed bug int page size is overflow and all workbaskets are requested (#1367)

This commit is contained in:
Chi Nguyen 2020-12-09 12:00:11 +01:00 committed by GitHub
parent f76b0c4522
commit e8f62bde7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -169,7 +169,8 @@ export class WorkbasketListComponent implements OnInit, OnDestroy {
this.performRequest(); this.performRequest();
} }
performRequest(): void { performRequest() {
TaskanaQueryParameters.pageSize = this.cards;
this.store this.store
.dispatch( .dispatch(
new GetWorkbasketsSummary( new GetWorkbasketsSummary(
@ -190,7 +191,6 @@ export class WorkbasketListComponent implements OnInit, OnDestroy {
.subscribe(() => { .subscribe(() => {
this.requestInProgressService.setRequestInProgress(false); this.requestInProgressService.setRequestInProgress(false);
}); });
TaskanaQueryParameters.pageSize = this.cards;
} }
ngOnDestroy() { ngOnDestroy() {