Dashboard: Fix Table view when editing causes the panel data to not update (#34998)

* Dashboard: Fix Table view when editing causes the panel data to not update

- Add event subscription on PanelEditorTableView
- Extract runAllPanelQueries into Panel Model in order to use it on PanelChrome and PanelEditorTableView
- Add simple unit test for runAllQueryPaneQueries
This commit is contained in:
Maria Alexandra
2021-06-01 13:52:08 +02:00
committed by GitHub
parent 22544bd135
commit ff03b456f1
5 changed files with 71 additions and 22 deletions

View File

@@ -250,7 +250,7 @@ export class PanelEditorUnconnected extends PureComponent<Props> {
}
if (tableViewEnabled) {
return <PanelEditorTableView width={width} height={height} panel={panel} />;
return <PanelEditorTableView width={width} height={height} panel={panel} dashboard={dashboard} />;
}
return (