Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Merge pull request #298 from ammendonca/HWK-TOPBAR-RES-QUERY
Browse files Browse the repository at this point in the history
Remove unnecessary resource query from topbar
  • Loading branch information
mtho11 committed Jul 7, 2015
2 parents bcd32bc + 9b6ca4b commit b1a89e5
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ module Topbar {
$rootScope.hkEndTimestamp = $routeParams.endTimestamp || moment().valueOf();
$rootScope.hkStartTimestamp = moment().subtract($rootScope.hkParams.timeOffset, 'milliseconds').valueOf();

/* not used anymore, was for topbar dropdown
HawkularInventory.Resource.query({environmentId: globalEnvironmentId}, (resourceList) => {
$rootScope.hkResources = resourceList;
for (var i = 0; i < resourceList.length; i++) {
Expand All @@ -60,6 +61,7 @@ module Topbar {
}
}
});
*/

}, this);
};
Expand Down

0 comments on commit b1a89e5

Please sign in to comment.