diff --git a/DigitalData.UserManager.API/ClientApp/user_manager_ui/src/app/pages/user-representation/user-representation.component.ts b/DigitalData.UserManager.API/ClientApp/user_manager_ui/src/app/pages/user-representation/user-representation.component.ts index bd25a16..c671597 100644 --- a/DigitalData.UserManager.API/ClientApp/user_manager_ui/src/app/pages/user-representation/user-representation.component.ts +++ b/DigitalData.UserManager.API/ClientApp/user_manager_ui/src/app/pages/user-representation/user-representation.component.ts @@ -37,7 +37,7 @@ export class UserRepresentationComponent extends BasePageComponent implements Af } ngAfterViewInit(): void { - this.buttonVisibilityService.setVisibleOnly(this.refreshService) + this.buttonVisibilityService.setVisibleOnly(this.refreshService, this.transferService) this.refreshService.removeAll(); this.refreshService.add(() => { this.users.fetchData(); @@ -45,6 +45,11 @@ export class UserRepresentationComponent extends BasePageComponent implements Af this.repGroups.fetchData(); this.rightGroups.fetchData(); }) + this.transferService.add(() => { + this.repUsers.safelyUnselectAll(); + this.repGroups.safelyUnselectAll(); + this.userReps.safelyUnselectAll(); + }) } @ViewChild("users") users!: UserTableComponent;