summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/views
diff options
context:
space:
mode:
Diffstat (limited to 'usecaseui-portal/src/app/views')
-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);