diff options
author | 2019-12-23 07:10:45 +0000 | |
---|---|---|
committer | 2019-12-23 07:10:45 +0000 | |
commit | 07b542a76b14b737ca2e1894eeb7c993ca195427 (patch) | |
tree | aecb2dfb8b239e60243e720cbe58ddc9327c4231 /usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/nsi-management/nsi-model/nsi-model.component.ts | |
parent | 5cf5f8401c9cbf848858a28806b4d322b7e308eb (diff) | |
parent | b7554f331652dfb9a7b987ef8ef72dc4b5c68b66 (diff) |
Merge "feat:Optimize the compatibility of front-end data rendering"
Diffstat (limited to 'usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/nsi-management/nsi-model/nsi-model.component.ts')
-rw-r--r-- | usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/nsi-management/nsi-model/nsi-model.component.ts | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/nsi-management/nsi-model/nsi-model.component.ts b/usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/nsi-management/nsi-model/nsi-model.component.ts index 569a018f..0ae21d45 100644 --- a/usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/nsi-management/nsi-model/nsi-model.component.ts +++ b/usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/nsi-management/nsi-model/nsi-model.component.ts @@ -27,8 +27,16 @@ export class NsiModelComponent implements OnInit { this.isSpinning = false; const {result_header: {result_code}, result_body: {hosted_business_list,included_nssi_list} } = res; if (+result_code === 200) { - this.businessList = hosted_business_list; - this.nssiList = included_nssi_list; + this.businessList = hosted_business_list.map((item)=>{ + if(item.service_instance_id !==null){ + return item + } + }); + this.nssiList = included_nssi_list.map((item)=>{ + if(item.service_instance_id !==null){ + return item + } + }); } }) } |