From 7de5161cb47abb01256272addeda32ad1c1cfaf5 Mon Sep 17 00:00:00 2001 From: rb7147 Date: Tue, 29 Aug 2017 14:38:54 -0400 Subject: Sonar Issue fixes for js Resolved POLICY-SDK-APP js blockers and critical issues Issue-Id: POLICY-184 Change-Id: I2ec99b4d48fcc2f833c6fd6140fed6d926c3fd9e Signed-off-by: rb7147 --- .../policyApp/controller/dashboardController.js | 28 +++++++++++----------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'POLICY-SDK-APP/src/main/webapp/app/policyApp/controller/dashboardController.js') diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/controller/dashboardController.js b/POLICY-SDK-APP/src/main/webapp/app/policyApp/controller/dashboardController.js index 7d352115e..8771ee918 100644 --- a/POLICY-SDK-APP/src/main/webapp/app/policyApp/controller/dashboardController.js +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/controller/dashboardController.js @@ -74,17 +74,17 @@ app.controller('policyDashboardHealthController', function ($scope, PolicyAppSer console.log("failed"); }); - $scope.availableGridHealthDatas = { - data : 'systemAlertsTableDatas', - enableFiltering: true, - columnDefs: [{ field: 'id'}, - { field: 'type'}, - { field: 'system'}, - {field: 'logtype'}, - {field : 'date' ,type: 'date', cellFilter: 'date:\'yyyy-MM-dd\'' }, - {field : 'description'} - ], - }; + $scope.availableGridHealthDatas = { + data : 'systemAlertsTableDatas', + enableFiltering: true, + columnDefs: [{ field: 'id'}, + { field: 'type'}, + { field: 'system'}, + {field: 'logtype'}, + {field : 'date' ,type: 'date', cellFilter: 'date:\'yyyy-MM-dd\'' }, + {field : 'description'} + ] + }; $scope.papStatusDatas = { data : 'papTableDatas', @@ -93,7 +93,7 @@ app.controller('policyDashboardHealthController', function ($scope, PolicyAppSer { field: 'status'}, { field: 'noOfPolicy'}, {field: 'noOfConnectedTrap'} - ], + ] }; $scope.pdpStatusDatas = { @@ -107,7 +107,7 @@ app.controller('policyDashboardHealthController', function ($scope, PolicyAppSer {field : 'permitCount'}, {field : 'denyCount'}, {field : 'naCount'} - ], + ] }; $scope.policyActivityDatas = { @@ -116,6 +116,6 @@ app.controller('policyDashboardHealthController', function ($scope, PolicyAppSer columnDefs: [{ field: 'policyId'}, { field: 'fireCount'}, { field: 'system'} - ], + ] }; }); \ No newline at end of file -- cgit 1.2.3-korg