TablePanel: fix annotations display (#17646)

(cherry picked from commit 35e1524b02)
This commit is contained in:
Ryan McKinley
2019-06-18 11:56:09 -07:00
committed by Kyle Brandt
parent b80ed6e371
commit 095c4cab6a
+6 -2
View File
@@ -94,8 +94,12 @@ class TablePanelCtrl extends MetricsPanelCtrl {
panel: this.panel,
range: this.range,
})
.then(annotations => {
return { data: annotations };
.then((anno: any) => {
this.loading = false;
this.dataRaw = anno;
this.pageIndex = 0;
this.render();
return { data: this.dataRaw }; // Not used
});
}