feat: Transfer-Service in Benutzervertretungskomponente integriert

This commit is contained in:
Developer 02
2024-08-12 11:35:02 +02:00
parent d6f909a81b
commit ef99c674e7

View File

@@ -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;