Expose onQueryChange to angular plugins

(cherry picked from commit a3da8dc673)
This commit is contained in:
Jon Ferreira
2019-03-06 14:24:33 +01:00
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: {},