Browse Source

fix(identity): add maxResultCount param to GetRoles action in the users component

pull/2761/head
mehmet-erim 7 years ago
parent
commit
b71a1e74ed
  1. 2
      npm/ng-packs/packages/identity/src/lib/components/users/users.component.ts

2
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)]],

Loading…
Cancel
Save