General improvements
testing/ogGui-multibranch/pipeline/head This commit looks good
Details
testing/ogGui-multibranch/pipeline/head This commit looks good
Details
parent
1e05176758
commit
35512ce65f
|
@ -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">
|
||||||
|
|
|
@ -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 },
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue