Sfoglia il codice sorgente

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

Torkel Ödegaard 9 anni fa
parent
commit
3c1e9e9a25
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      public/app/plugins/panel/table/module.ts

+ 2 - 2
public/app/plugins/panel/table/module.ts

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