Expose onQueryChange to angular plugins

This commit is contained in:
Jon Ferreira 2019-03-05 15:04:10 -05:00
parent c36047674a
commit a3da8dc673

View File

@ -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: {},