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

Expose onQueryChange to angular plugins
pull/15818/head
Torkel Ödegaard 6 years ago committed by GitHub
commit 2039278a93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      public/app/features/explore/QueryEditor.tsx

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

Loading…
Cancel
Save