summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/services/services-list
diff options
context:
space:
mode:
Diffstat (limited to 'usecaseui-portal/src/app/services/services-list')
-rw-r--r--usecaseui-portal/src/app/services/services-list/services-list.component.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/usecaseui-portal/src/app/services/services-list/services-list.component.ts b/usecaseui-portal/src/app/services/services-list/services-list.component.ts
index 0509e70a..f2e05076 100644
--- a/usecaseui-portal/src/app/services/services-list/services-list.component.ts
+++ b/usecaseui-portal/src/app/services/services-list/services-list.component.ts
@@ -156,6 +156,12 @@ export class ServicesListComponent implements OnInit {
console.log(data);
this.total = data.body.total;
this.tableData = data.body.tableList.map((item)=>{
+ if(typeof item == "string"){
+ item = JSON.parse(item);
+ }
+ if(typeof item["childServiceInstances"] == "string"){
+ item["childServiceInstances"] = JSON.parse(item["childServiceInstances"]);
+ }
if(item["serviceDomain"]=="Network Service"){
item["childServiceInstances"] = item["vnfInfo"].map((vnf)=>{
vnf["serviceDomain"] = "vnf";