Skip to content

Commit 4f93515

Browse files
committed
[DSC-1974] Use page size of 10 in order to reduce the number of request
1 parent 1e66cf1 commit 4f93515

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/app/core/data/entity-type-data.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export class EntityTypeDataService extends BaseDataService<ItemType> implements
8383
*/
8484
hasMoreThanOneAuthorized(): Observable<boolean> {
8585
const findListOptions: FindListOptions = {
86-
elementsPerPage: 2,
86+
elementsPerPage: 10,
8787
currentPage: 1
8888
};
8989
return this.getAllAuthorizedRelationshipType(findListOptions).pipe(
@@ -117,7 +117,7 @@ export class EntityTypeDataService extends BaseDataService<ItemType> implements
117117
*/
118118
hasMoreThanOneAuthorizedImport(): Observable<boolean> {
119119
const findListOptions: FindListOptions = {
120-
elementsPerPage: 2,
120+
elementsPerPage: 10,
121121
currentPage: 1
122122
};
123123
return this.getAllAuthorizedRelationshipTypeImport(findListOptions).pipe(

0 commit comments

Comments
 (0)