diff --git a/ogWebconsole/src/app/components/groups/groups.component.html b/ogWebconsole/src/app/components/groups/groups.component.html index c780882..116dbc3 100644 --- a/ogWebconsole/src/app/components/groups/groups.component.html +++ b/ogWebconsole/src/app/components/groups/groups.component.html @@ -198,8 +198,8 @@ delete {{ 'delete' | translate }} - + diff --git a/ogWebconsole/src/app/components/groups/groups.component.ts b/ogWebconsole/src/app/components/groups/groups.component.ts index 04d5052..0235ab9 100644 --- a/ogWebconsole/src/app/components/groups/groups.component.ts +++ b/ogWebconsole/src/app/components/groups/groups.component.ts @@ -401,6 +401,9 @@ export class GroupsComponent implements OnInit, OnDestroy { this.http.get(`${this.baseUrl}/clients?organizationalUnit.id=${node.id}&page=${this.page + 1}&itemsPerPage=${this.itemsPerPage}`, { params }).subscribe({ next: (response: any) => { this.selectedClients.data = response['hydra:member']; + if (this.selectedNode) { + this.selectedNode.clients = response['hydra:member']; + } this.length = response['hydra:totalItems']; this.arrayClients = this.selectedClients.data; this.hasClients = this.selectedClients.data.length > 0;