From b71a1e74ed50ce759d74168f782ba66ea3218a52 Mon Sep 17 00:00:00 2001 From: mehmet-erim Date: Tue, 4 Feb 2020 09:20:12 +0300 Subject: [PATCH] fix(identity): add maxResultCount param to GetRoles action in the users component --- .../identity/src/lib/components/users/users.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/npm/ng-packs/packages/identity/src/lib/components/users/users.component.ts b/npm/ng-packs/packages/identity/src/lib/components/users/users.component.ts index a557a71a4c..f0a55f6bfe 100644 --- a/npm/ng-packs/packages/identity/src/lib/components/users/users.component.ts +++ b/npm/ng-packs/packages/identity/src/lib/components/users/users.component.ts @@ -119,7 +119,7 @@ export class UsersComponent implements OnInit { } buildForm() { - this.store.dispatch(new GetRoles()).subscribe(() => { + this.store.dispatch(new GetRoles({ maxResultCount: 1000, skipCount: 0 })).subscribe(() => { this.roles = this.store.selectSnapshot(IdentityState.getRoles); this.form = this.fb.group({ userName: [this.selected.userName || '', [Validators.required, Validators.maxLength(256)]],