feat: Transfer-Service in Benutzervertretungskomponente integriert
This commit is contained in:
@@ -37,7 +37,7 @@ export class UserRepresentationComponent extends BasePageComponent implements Af
|
|||||||
}
|
}
|
||||||
|
|
||||||
ngAfterViewInit(): void {
|
ngAfterViewInit(): void {
|
||||||
this.buttonVisibilityService.setVisibleOnly(this.refreshService)
|
this.buttonVisibilityService.setVisibleOnly(this.refreshService, this.transferService)
|
||||||
this.refreshService.removeAll();
|
this.refreshService.removeAll();
|
||||||
this.refreshService.add(() => {
|
this.refreshService.add(() => {
|
||||||
this.users.fetchData();
|
this.users.fetchData();
|
||||||
@@ -45,6 +45,11 @@ export class UserRepresentationComponent extends BasePageComponent implements Af
|
|||||||
this.repGroups.fetchData();
|
this.repGroups.fetchData();
|
||||||
this.rightGroups.fetchData();
|
this.rightGroups.fetchData();
|
||||||
})
|
})
|
||||||
|
this.transferService.add(() => {
|
||||||
|
this.repUsers.safelyUnselectAll();
|
||||||
|
this.repGroups.safelyUnselectAll();
|
||||||
|
this.userReps.safelyUnselectAll();
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
@ViewChild("users") users!: UserTableComponent;
|
@ViewChild("users") users!: UserTableComponent;
|
||||||
|
|||||||
Reference in New Issue
Block a user