Commit 963e2027 by Torkel Ödegaard

fix(): data push fix

parent a531a170
...@@ -217,7 +217,7 @@ class MetricsPanelCtrl extends PanelCtrl { ...@@ -217,7 +217,7 @@ class MetricsPanelCtrl extends PanelCtrl {
if (data.range) { if (data.range) {
this.range = data.range; this.range = data.range;
} }
this.events.emit('data-received', data); this.events.emit('data-received', data.data);
}, },
error: (error) => { error: (error) => {
this.events.emit('data-error', error); this.events.emit('data-error', error);
......
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