Commit 3c1e9e9a by Torkel Ödegaard

fix(table): fixed issue with table panel and annotations, fixes #4563

parent 43ebc172
...@@ -77,9 +77,9 @@ class TablePanelCtrl extends MetricsPanelCtrl { ...@@ -77,9 +77,9 @@ class TablePanelCtrl extends MetricsPanelCtrl {
this.pageIndex = 0; this.pageIndex = 0;
if (this.panel.transform === 'annotations') { if (this.panel.transform === 'annotations') {
this.setTimeQueryStart();
return this.annotationsSrv.getAnnotations(this.dashboard).then(annotations => { return this.annotationsSrv.getAnnotations(this.dashboard).then(annotations => {
this.dataRaw = annotations; return {data: annotations};
this.render();
}); });
} }
......
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