aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcyuamber <xuranyjy@chinamobile.com>2019-12-19 16:37:56 +0800
committercyuamber <xuranyjy@chinamobile.com>2019-12-19 16:38:00 +0800
commit05925e61ceb9d73971e868436c14a44c3fb61906 (patch)
tree3a783fccc4715a8c4737633c548cad2e3cf5b32b
parentc2f28a09fbc4206c266e1caab0a29d0a25d6864f (diff)
feat:The front end does filtering and processing the data returned by the interface
Change-Id: If1f43fe8f31d358a2871801136c8658e9a913767 Issue-ID: USECASEUI-370 Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
-rw-r--r--usecaseui-portal/src/app/views/fcaps/monitor-5g/monitor-5g.component.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/usecaseui-portal/src/app/views/fcaps/monitor-5g/monitor-5g.component.ts b/usecaseui-portal/src/app/views/fcaps/monitor-5g/monitor-5g.component.ts
index 82166691..5ba444c8 100644
--- a/usecaseui-portal/src/app/views/fcaps/monitor-5g/monitor-5g.component.ts
+++ b/usecaseui-portal/src/app/views/fcaps/monitor-5g/monitor-5g.component.ts
@@ -86,7 +86,9 @@ export class Monitor5gComponent implements OnInit {
service_list:[]
};
this.listOfData.forEach(item => {
- requestBody.service_list.push({ service_id: item.service_snssai });
+ if(item.service_snssai !==null && item.service_snssai!==undefined){
+ requestBody.service_list.push({ service_id: item.service_snssai });
+ }
});
this.fetchTrafficData(requestBody, time);
this.fetchOnlineusersData(requestBody, time);