Skip to content

Commit

Permalink
Fix for graphite query letter assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
torkelo committed Sep 11, 2014
1 parent 2c6ea27 commit 48eb208
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/controllers/graphiteTarget.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function (angular, _, config, gfunc, Parser) {

$scope.init = function() {
$scope.target.target = $scope.target.target || '';
$scope.targetLetter = targetLetters[$scope.$index];
$scope.targetLetters = targetLetters;

parseTarget();
};
Expand Down
2 changes: 1 addition & 1 deletion src/app/partials/graphite/editor.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

<ul class="grafana-segment-list">
<li class="grafana-target-segment" style="min-width: 15px; text-align: center">
{{targetLetter}}
{{targetLetters[$index]}}
</li>
<li>
<a class="grafana-target-segment"
Expand Down

0 comments on commit 48eb208

Please sign in to comment.