diff options
author | 2017-08-29 14:38:54 -0400 | |
---|---|---|
committer | 2017-08-30 08:27:28 -0400 | |
commit | 7de5161cb47abb01256272addeda32ad1c1cfaf5 (patch) | |
tree | f2250f25a7c419058491a0af99ecf47d701f80d7 /POLICY-SDK-APP/src/main/webapp/app/policyApp/controller/dashboardController.js | |
parent | ed3acdbb2d22e819218eea730932950d69d985fe (diff) |
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 <rb7147@att.com>
Diffstat (limited to 'POLICY-SDK-APP/src/main/webapp/app/policyApp/controller/dashboardController.js')
-rw-r--r-- | POLICY-SDK-APP/src/main/webapp/app/policyApp/controller/dashboardController.js | 28 |
1 files changed, 14 insertions, 14 deletions
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 |