mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Use panel+ref for unique id
Previously, if a user changed the query between requests, the previous query would not be canceled. This handles that edge-case.
This commit is contained in:
parent
8797be9f89
commit
048bcf19f6
@ -183,7 +183,7 @@ class MetricsPanelCtrl extends PanelCtrl {
|
||||
};
|
||||
|
||||
metricsQuery.targets.forEach(function(target) {
|
||||
target.exprID = target.expr + target.refId + metricsQuery.panelId;
|
||||
target.exprID = target.refId + metricsQuery.panelId;
|
||||
});
|
||||
|
||||
return datasource.query(metricsQuery);
|
||||
|
Loading…
Reference in New Issue
Block a user