refs #690. ogBoot status changes. Added ogLive in client
parent
fdd37f64d9
commit
35748d9f11
|
@ -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'];
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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 = [
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue