commit | 9181e873d6dae32701ee469ecb984884ccc334cc | [log] [tgz] |
---|---|---|
author | Gunnar Mills <gmills@us.ibm.com> | Tue Aug 28 15:33:57 2018 -0500 |
committer | Gunnar Mills <gmills@us.ibm.com> | Tue Aug 28 15:49:29 2018 -0500 |
tree | ea7cebd6ac3603e468aa1e0de0997ccd9c8c4d7a | |
parent | 1d5f52cef41d4dfd9b8b59221d89658fb7f9e1df [diff] [blame] |
Remove double variable set "loading" was set twice in a row. Remove the 1st. Found using sonar scanner. Change-Id: I21b40f316b7227ea003daae7924b992c1a1ed77b Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/app/server-health/controllers/inventory-overview-controller.js b/app/server-health/controllers/inventory-overview-controller.js index 9705395..58a6d5d 100644 --- a/app/server-health/controllers/inventory-overview-controller.js +++ b/app/server-health/controllers/inventory-overview-controller.js
@@ -17,9 +17,8 @@ $scope.originalData = {}; $scope.customSearch = ''; $scope.searchTerms = []; - $scope.loading = false; - $scope.loading = true; + APIUtils.getHardwares(function(data, originalData) { $scope.hardwares = data; $scope.originalData = JSON.stringify(originalData);