mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix: Prometheus & hidden queries caused no metric query to be issued, fixes #8413
This commit is contained in:
parent
59f3cca135
commit
9045be5689
@ -76,7 +76,7 @@ export function PrometheusDatasource(instanceSettings, $q, backendSrv, templateS
|
|||||||
|
|
||||||
for (let target of options.targets) {
|
for (let target of options.targets) {
|
||||||
if (!target.expr || target.hide) {
|
if (!target.expr || target.hide) {
|
||||||
return;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
activeTargets.push(target);
|
activeTargets.push(target);
|
||||||
|
Loading…
Reference in New Issue
Block a user