Selaa lähdekoodia

fix(influxdb): fixed issue in last commit

Torkel Ödegaard 10 vuotta sitten
vanhempi
commit
6989c6332d
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      public/app/plugins/datasource/influxdb/queryCtrl.js

+ 1 - 1
public/app/plugins/datasource/influxdb/queryCtrl.js

@@ -180,7 +180,7 @@ function (angular, _, InfluxQueryBuilder) {
     $scope.getFieldSegments = function() {
       var fieldsQuery = $scope.queryBuilder.buildExploreQuery('FIELDS');
       return $scope.datasource.metricFindQuery(fieldsQuery)
-      .then($scope.transformToSegments)
+      .then($scope.transformToSegments(false))
       .then(null, $scope.handleQueryError);
     };