diff --git a/public/app/plugins/panel/table/editor.ts b/public/app/plugins/panel/table/editor.ts index 766f3ce11d7..f81d70b9517 100644 --- a/public/app/plugins/panel/table/editor.ts +++ b/public/app/plugins/panel/table/editor.ts @@ -67,12 +67,16 @@ export class TablePanelEditorCtrl { transformChanged() { this.panel.columns = []; - if (this.panel.transform === 'timeseries_aggregations') { - this.panel.columns.push({ text: 'Avg', value: 'avg' }); - } + if (this.panel.transform === 'annotations') { + this.panelCtrl.refresh(); + } else { + if (this.panel.transform === 'timeseries_aggregations') { + this.panel.columns.push({ text: 'Avg', value: 'avg' }); + } - this.updateTransformHints(); - this.render(); + this.updateTransformHints(); + this.render(); + } } render() {