From b830ba71e2880902a10e8e4c7616d5bcb6888c5b Mon Sep 17 00:00:00 2001
From: Ian Chen <42661015+ianchen0119@users.noreply.github.com>
Date: Tue, 26 Oct 2021 12:39:45 +0800
Subject: [PATCH] [fix] the subscribe form display the incorrect data (#13)

---
 frontend/src/pages/Subscribers/components/SubscriberModal.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/frontend/src/pages/Subscribers/components/SubscriberModal.js b/frontend/src/pages/Subscribers/components/SubscriberModal.js
index 24ba206..91a4bb7 100644
--- a/frontend/src/pages/Subscribers/components/SubscriberModal.js
+++ b/frontend/src/pages/Subscribers/components/SubscriberModal.js
@@ -134,7 +134,7 @@ function sliceConfigurationsFromSubscriber(subscriber) {
           }
         })
       }
-      if (dnnConfigs[dnn].upSecurity !== null){
+      if (dnnConfigs[dnn].upSecurity){
         return {
           dnn: dnn,
           uplinkAmbr: dnnConfigs[dnn].sessionAmbr.uplink,
-- 
GitLab