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>
<ng-container matColumnDef="pxeTemplate"> <ng-container matColumnDef="pxeTemplate">
<th mat-header-cell *matHeaderCellDef mat-sort-header> {{ 'pxeTemplate' | translate }} </th> <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>
<ng-container matColumnDef="parentName"> <ng-container matColumnDef="parentName">

View File

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