From 05925e61ceb9d73971e868436c14a44c3fb61906 Mon Sep 17 00:00:00 2001 From: cyuamber Date: Thu, 19 Dec 2019 16:37:56 +0800 Subject: 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 --- .../src/app/views/fcaps/monitor-5g/monitor-5g.component.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); -- cgit 1.2.3-korg