mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix: segment used influxdb naming for variable in options callback, should be more generic
This commit is contained in:
@@ -77,7 +77,7 @@ function (_, $, coreModule) {
|
||||
|
||||
$scope.source = function(query, callback) {
|
||||
$scope.$apply(function() {
|
||||
$scope.getOptions({ measurementFilter: query }).then(function(altSegments) {
|
||||
$scope.getOptions({ $query: query }).then(function(altSegments) {
|
||||
$scope.altSegments = altSegments;
|
||||
options = _.map($scope.altSegments, function(alt) { return alt.value; });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user