From: SANDHYA.JS Date: Tue, 8 Mar 2022 11:47:23 +0000 (+0530) Subject: Fix Bug 1889: Operational View Dashboard not visible when NS is running with K8s... X-Git-Tag: v12.0.0rc1~15 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=dfef92368f5f402e8e015bc4e7c037d86466040f;p=osm%2FNG-UI.git 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 --- 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;