From dfef92368f5f402e8e015bc4e7c037d86466040f Mon Sep 17 00:00:00 2001 From: "SANDHYA.JS" Date: Tue, 8 Mar 2022 17:17:23 +0530 Subject: [PATCH] Fix Bug 1889: Operational View Dashboard not visible when NS is running with K8s charms. * Modified id attribute to point towards vcastatus vca_id instead of ns_id. Change-Id: Id79b632e51413207a32385b6a9bee71f9a226126 Signed-off-by: SANDHYA.JS --- src/app/operational-view/OperationalViewComponent.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/operational-view/OperationalViewComponent.ts b/src/app/operational-view/OperationalViewComponent.ts index 9d6c1fe..ae2a13c 100644 --- a/src/app/operational-view/OperationalViewComponent.ts +++ b/src/app/operational-view/OperationalViewComponent.ts @@ -227,11 +227,11 @@ export class OperationalViewComponent implements OnInit { public vcaDetailsData(list: VCASTATUS, liveData: boolean, timeOutSeconds: number): VCADETAILS { const assignVCADetails: VCADETAILS[] = []; const setModels: SETMODELS[] = []; - const assignNSInstancesID: string = list.id; Object.keys(list.vcaStatus).forEach((key: string): void => { const vcaApplication: VCAAPPLICATIONS[] = this.appData(list.vcaStatus[key].applications); const vcaUnits: VCAUNITS[] = this.unitsData(vcaApplication); const vcaMachines: MACHINES[] = this.machinesData(list.vcaStatus[key].machines); + const assignNSInstancesID: string = key; list.vcaStatus[key].units = vcaUnits; list.vcaStatus[key].applications = vcaApplication; list.vcaStatus[key].machines = vcaMachines; -- 2.25.1