refs #690. ogBoot status changes. Added ogLive in client

develop-jenkins
Manuel Aranda Rosales 2024-10-18 09:24:41 +02:00
parent fdd37f64d9
commit 35748d9f11
3 changed files with 8 additions and 8 deletions

View File

@ -65,10 +65,10 @@ export class ClientTabViewComponent {
cell: (client: any) => `${client.organizationalUnit.name}`
},
{
columnDef: 'createdAt',
header: 'Fecha de creación',
cell: (client: any) => `${this.datePipe.transform(client.createdAt, 'dd/MM/yyyy hh:mm:ss')}`
}
columnDef: 'ogLive',
header: 'OgLive',
cell: (client: any) => `${client.ogLive?.name}`
},
];
displayedColumns = [...this.columns.map(column => column.columnDef), 'actions'];

View File

@ -21,7 +21,7 @@
<mat-label i18n="@@oglive-label">OgLive</mat-label>
<mat-select formControlName="ogLive">
<mat-option *ngFor="let ogLive of ogLives" [value]="ogLive['@id']">
{{ ogLive.uuid }}
{{ ogLive.name }}
</mat-option>
</mat-select>
</mat-form-field>

View File

@ -32,9 +32,9 @@ export class OgbootStatusComponent implements OnInit {
loadStatus(): void {
this.http.get<any>(`${this.baseUrl}/og-boot/status`).subscribe(data => {
this.diskUsage = data.disk_usage;
this.servicesStatus = data.services_status;
this.installedOglives = data.installed_oglives;
this.diskUsage = data.message.disk_usage;
this.servicesStatus = data.message.services_status;
this.installedOglives = data.message.installed_oglives;
this.diskUsageChartData = [
{