瀏覽代碼

Expose onQueryChange to angular plugins

Jon Ferreira 7 年之前
父節點
當前提交
a3da8dc673
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      public/app/features/explore/QueryEditor.tsx

+ 3 - 0
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: {},