diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/idm/users/select-user/select-user.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/idm/users/select-user/select-user.component.ts index dfa4dd7e5..e80b61521 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/idm/users/select-user/select-user.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/idm/users/select-user/select-user.component.ts @@ -182,6 +182,7 @@ export class SelectUserComponent implements OnInit { activeNode(data: NzFormatEmitEvent): void { this.treeNodes.activated = data.node!; this.query.params.departmentId = data.node!.key; + this.query.params.pageNumber = 1; this.fetch(); } diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/idm/users/users.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/idm/users/users.component.ts index 686c361a3..8d4f9d951 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/idm/users/users.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/idm/users/users.component.ts @@ -340,6 +340,7 @@ export class UsersComponent implements OnInit { activeNode(data: NzFormatEmitEvent): void { this.treeNodes.activated = data.node!; this.query.params.departmentId = data.node!.key; + this.query.params.pageNumber = 1; this.fetch(); }