diff options
Diffstat (limited to 'usecaseui-portal/src/app/components/e2e-detail/e2e-detail.component.ts')
-rw-r--r-- | usecaseui-portal/src/app/components/e2e-detail/e2e-detail.component.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usecaseui-portal/src/app/components/e2e-detail/e2e-detail.component.ts b/usecaseui-portal/src/app/components/e2e-detail/e2e-detail.component.ts index cfcaae6c..554f25c6 100644 --- a/usecaseui-portal/src/app/components/e2e-detail/e2e-detail.component.ts +++ b/usecaseui-portal/src/app/components/e2e-detail/e2e-detail.component.ts @@ -124,17 +124,17 @@ export class E2eDetailComponent implements OnInit { } }else if(this.detailParams.serviceDomain == 'Network Service'){ this.ns_service = { - name:this.detailParams.name, - description: this.detailParams.description, + name:this.detailParams.name || this.detailParams['service-instance-name'], + description: this.detailParams.description || null }; if(this.detailParams.requestInputs!=undefined && Object.keys(this.detailParams.requestInputs).length>0){ this.ns_requestInputs = this.detailParams.requestInputs; } - this.ns_nestedTemplates = this.detailParams.vnfInfo; + this.ns_nestedTemplates = this.detailParams.childServiceInstances; this.rootns.children=this.ns_nestedTemplates.map((item,index) => { return { "name": "vnf", - "type": "vnf", + "type": "vnf" } }); console.log(this.ns_nestedTemplates); |