From 48eb2083f25566995575dd7773ca80fd08a4c140 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Thu, 11 Sep 2014 17:25:59 +0200 Subject: [PATCH] Fix for graphite query letter assignment --- src/app/controllers/graphiteTarget.js | 2 +- src/app/partials/graphite/editor.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/controllers/graphiteTarget.js b/src/app/controllers/graphiteTarget.js index cd8462ac62d..27299474bc0 100644 --- a/src/app/controllers/graphiteTarget.js +++ b/src/app/controllers/graphiteTarget.js @@ -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(); }; diff --git a/src/app/partials/graphite/editor.html b/src/app/partials/graphite/editor.html index 46e7d081884..4d670255bc0 100755 --- a/src/app/partials/graphite/editor.html +++ b/src/app/partials/graphite/editor.html @@ -41,7 +41,7 @@