mirror of
https://github.com/grafana/grafana.git
synced 2025-02-11 16:15:42 -06:00
Opentsdb datasource labeling fix (#8929)
* Fix Labeling issue when hiding Queries. Issue #8928 * Fix spacing. * Replacing tabs with spaces. * Fix for jshint
This commit is contained in:
parent
ce4939bd56
commit
c4683f1ae8
@ -53,6 +53,10 @@ function (angular, _, dateMath) {
|
||||
}
|
||||
});
|
||||
|
||||
options.targets = _.filter(options.targets, function(query) {
|
||||
return query.hide !== true;
|
||||
});
|
||||
|
||||
return this.performTimeSeriesQuery(queries, start, end).then(function(response) {
|
||||
var metricToTargetMapping = mapMetricsToTargets(response.data, options, this.tsdbVersion);
|
||||
var result = _.map(response.data, function(metricData, index) {
|
||||
|
Loading…
Reference in New Issue
Block a user