mirror of
https://github.com/grafana/grafana.git
synced 2025-09-25 11:54:20 +08:00
DashboardQueryEditor: Run query after selecting source panel (#32383)
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user