Expose onQueryChange to angular plugins
(cherry picked from commit a3da8dc673)
This commit is contained in:
committed by
Torkel Ödegaard
parent
816e81ac0a
commit
24da153147
@@ -43,6 +43,9 @@ export default class QueryEditor extends PureComponent<QueryEditorProps, any> {
|
||||
this.props.onQueryChange(target);
|
||||
this.props.onExecuteQuery();
|
||||
},
|
||||
onQueryChange: () => {
|
||||
this.props.onQueryChange(target);
|
||||
},
|
||||
events: exploreEvents,
|
||||
panel: { datasource, targets: [target] },
|
||||
dashboard: {},
|
||||
|
||||
Reference in New Issue
Block a user