Transformations: Make sidebar subscribe to panel's query runner (#23785)

* Make panel edit sidebar options use lates data from panel query runner

* Update select's z-index

* Review
This commit is contained in:
Dominik Prokop
2020-04-22 19:21:48 +02:00
committed by GitHub
parent 45dfa20467
commit eae11f53f3
3 changed files with 42 additions and 12 deletions

View File

@@ -275,7 +275,7 @@ export class PanelEditorUnconnected extends PureComponent<Props> {
}
renderOptionsPane() {
const { plugin, dashboard, data, panel, uiState } = this.props;
const { plugin, dashboard, panel, uiState } = this.props;
if (!plugin) {
return <div />;
@@ -285,7 +285,6 @@ export class PanelEditorUnconnected extends PureComponent<Props> {
<OptionsPaneContent
plugin={plugin}
dashboard={dashboard}
data={data}
panel={panel}
width={uiState.rightPaneSize as number}
onClose={this.onTogglePanelOptions}