summaryrefslogtreecommitdiffstats
path: root/ecomp-portal-FE-common
diff options
context:
space:
mode:
authorst782s <statta@research.att.com>2018-05-03 16:15:58 -0400
committerst782s <statta@research.att.com>2018-05-03 16:16:31 -0400
commit2e89d1f2ee3d36fc530e23a5cbffc3e624546bcf (patch)
tree5f2a4a945f7c31fbde1ba997798465909e785da0 /ecomp-portal-FE-common
parent431c2561fe370a4a0cbe44cb685d10aaf52d1b60 (diff)
High memory Usage by Portal, SDK, Cassandra
Issue-ID: PORTAL-211 Change-Id: I01a145728ea70190a145005dac4b710100d39524 Signed-off-by: st782s <statta@research.att.com>
Diffstat (limited to 'ecomp-portal-FE-common')
-rw-r--r--ecomp-portal-FE-common/client/app/views/tabs/tabs.controller.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/ecomp-portal-FE-common/client/app/views/tabs/tabs.controller.js b/ecomp-portal-FE-common/client/app/views/tabs/tabs.controller.js
index 2bf812e4..c4b31ef2 100644
--- a/ecomp-portal-FE-common/client/app/views/tabs/tabs.controller.js
+++ b/ecomp-portal-FE-common/client/app/views/tabs/tabs.controller.js
@@ -266,7 +266,8 @@
},false);
$scope.openModal = function(data){
- schedulerService.showWidget(data.widgetName,data.widgetData,data.widgetParameter).then(isConfirmed => {});
+ if(data!=null && data!='' && data.widgetData!=null)
+ schedulerService.showWidget(data.widgetName,data.widgetData,data.widgetParameter).then(isConfirmed => {});
}
}
}