From ef99c674e73d5eed04f49307598890d12be6c8d9 Mon Sep 17 00:00:00 2001 From: Developer 02 Date: Mon, 12 Aug 2024 11:35:02 +0200 Subject: [PATCH] feat: Transfer-Service in Benutzervertretungskomponente integriert --- .../user-representation/user-representation.component.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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;