From 35e1524b0205a9a97f1a981e05d06646238be750 Mon Sep 17 00:00:00 2001 From: Ryan McKinley Date: Tue, 18 Jun 2019 11:56:09 -0700 Subject: [PATCH] TablePanel: fix annotations display (#17646) --- public/app/plugins/panel/table/module.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/public/app/plugins/panel/table/module.ts b/public/app/plugins/panel/table/module.ts index a35ee06283b..24f396918d6 100644 --- a/public/app/plugins/panel/table/module.ts +++ b/public/app/plugins/panel/table/module.ts @@ -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 }); }