Commit 048bcf19 by stuart nelson

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.
parent 8797be9f
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment