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

Commit

Permalink
Remove unnecessary resource query from topbar
Browse files Browse the repository at this point in the history
  • Loading branch information
ammendonca committed Jul 7, 2015
1 parent bcd32bc commit 9b6ca4b
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 9b6ca4b

Please sign in to comment.