General improvements
testing/ogGui-multibranch/pipeline/head This commit looks good Details

develop
Manuel Aranda Rosales 2025-04-30 13:25:37 +02:00
parent 1e05176758
commit 35512ce65f
2 changed files with 6 additions and 6 deletions

View File

@ -387,7 +387,7 @@
</ng-container>
<ng-container matColumnDef="pxeTemplate">
<th mat-header-cell *matHeaderCellDef mat-sort-header> {{ 'pxeTemplate' | translate }} </th>
<td mat-cell *matCellDef="let client"> {{ client.template?.name }} </td>
<td mat-cell *matCellDef="let client"> {{ client.pxeTemplate?.name }} </td>
</ng-container>
<ng-container matColumnDef="parentName">

View File

@ -583,11 +583,11 @@ export class GroupsComponent implements OnInit, OnDestroy {
onRoomMap(room: TreeNode | null): void {
if (!room || !room['@id']) return;
this.subscriptions.add(
this.http.get<{ clients: Client[] }>(`${this.baseUrl}${room['@id']}`).subscribe(
this.http.get<any>(`${this.baseUrl}/clients?organizationalUnit.id=${room.id}`, { }).subscribe(
(response) => {
this.dialog.open(ClassroomViewDialogComponent, {
width: '90vw',
data: { clients: response.clients },
data: { clients: response['hydra:member'] },
});
},
(error) => {
@ -612,7 +612,7 @@ export class GroupsComponent implements OnInit, OnDestroy {
onShowClientDetail(event: MouseEvent, client: Client): void {
event.stopPropagation();
this.dialog.open(ClientDetailsComponent, {
width: '1200px',
width: '1300px',
data: { clientData: client },
})
}