Merge pull request #15807 from jsferrei/angular-plugin-onquerychange

Expose onQueryChange to angular plugins
This commit is contained in:
Torkel Ödegaard
2019-03-06 09:28:56 +01:00
committed by GitHub
@@ -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: {},