mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Remove targetLetters
This commit is contained in:
parent
c3f0ef4126
commit
0a23a996bc
@ -48,9 +48,6 @@
|
|||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<ul class="tight-form-list">
|
<ul class="tight-form-list">
|
||||||
<li class="tight-form-item" style="min-width: 15px; text-align: center">
|
|
||||||
{{targetLetters[$index]}}
|
|
||||||
</li>
|
|
||||||
<li>
|
<li>
|
||||||
<a class="tight-form-item" ng-click="target.hide = !target.hide; targetBlur();" role="menuitem">
|
<a class="tight-form-item" ng-click="target.hide = !target.hide; targetBlur();" role="menuitem">
|
||||||
<i class="fa fa-fw fa-eye"></i>
|
<i class="fa fa-fw fa-eye"></i>
|
||||||
|
@ -7,7 +7,6 @@ function (angular, _) {
|
|||||||
|
|
||||||
var module = angular.module('grafana.controllers');
|
var module = angular.module('grafana.controllers');
|
||||||
var metricList = null;
|
var metricList = null;
|
||||||
var targetLetters = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O'];
|
|
||||||
|
|
||||||
module.controller('KairosDBQueryCtrl', function($scope) {
|
module.controller('KairosDBQueryCtrl', function($scope) {
|
||||||
|
|
||||||
@ -24,7 +23,6 @@ function (angular, _) {
|
|||||||
$scope.target.downsampling = $scope.panel.downsampling;
|
$scope.target.downsampling = $scope.panel.downsampling;
|
||||||
$scope.target.sampling = $scope.panel.sampling;
|
$scope.target.sampling = $scope.panel.sampling;
|
||||||
}
|
}
|
||||||
$scope.targetLetters = targetLetters;
|
|
||||||
$scope.updateMetricList();
|
$scope.updateMetricList();
|
||||||
$scope.target.errors = validateTarget($scope.target);
|
$scope.target.errors = validateTarget($scope.target);
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user