DashboardQueryEditor: Run query after selecting source panel (#32383)

This commit is contained in:
Torkel Ödegaard
2021-03-29 08:16:24 +02:00
committed by GitHub
parent 52ff968a72
commit a4b0ad3937
2 changed files with 10 additions and 1 deletions

View File

@ -21,6 +21,7 @@ interface Props {
queries: DataQuery[];
panelData: PanelData;
onChange: (queries: DataQuery[]) => void;
onRunQueries: () => void;
}
type State = {
@ -97,6 +98,7 @@ export class DashboardQueryEditor extends PureComponent<Props, State> {
panelId: id,
} as DashboardQuery,
]);
this.props.onRunQueries();
};
renderQueryData(editURL: string) {