diff options
author | 2019-12-23 14:38:21 +0800 | |
---|---|---|
committer | 2019-12-23 06:55:20 +0000 | |
commit | b7554f331652dfb9a7b987ef8ef72dc4b5c68b66 (patch) | |
tree | a8e9d3860ef17cf3aa471e33e727e6ae0fe50dfb /usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/nssi-management | |
parent | 892c3e66b34b9e7fd9d98b394a345ace8572ab64 (diff) |
feat:Optimize the compatibility of front-end data rendering
Change-Id: I8336d68717c86f6b5268e70bfcd5fa0feda9d4a7
Issue-ID: USECASEUI-369
Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/nssi-management')
-rw-r--r-- | usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/nssi-management/nssi-model/nssi-model.component.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/nssi-management/nssi-model/nssi-model.component.ts b/usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/nssi-management/nssi-model/nssi-model.component.ts index 034d8666..e20d81ed 100644 --- a/usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/nssi-management/nssi-model/nssi-model.component.ts +++ b/usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/nssi-management/nssi-model/nssi-model.component.ts @@ -25,7 +25,11 @@ export class NssiModelComponent implements OnInit { this.isSpinning = false; const {result_header: {result_code}, result_body: {hosted_nsi_list} } = res; if (+result_code === 200) { - this.nsiList = hosted_nsi_list; + this.nsiList = hosted_nsi_list.map((item)=>{ + if(item.service_instance_id !==null){ + return item + } + }); } }) } |