TablePanel: fix annotations display (#17646)

This commit is contained in:
Ryan McKinley 2019-06-18 11:56:09 -07:00 committed by GitHub
parent bd08d8ce8e
commit 35e1524b02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -94,8 +94,12 @@ class TablePanelCtrl extends MetricsPanelCtrl {
panel: this.panel, panel: this.panel,
range: this.range, range: this.range,
}) })
.then(annotations => { .then((anno: any) => {
return { data: annotations }; this.loading = false;
this.dataRaw = anno;
this.pageIndex = 0;
this.render();
return { data: this.dataRaw }; // Not used
}); });
} }