Browse Source

Expose onQueryChange to angular plugins

Jon Ferreira 6 năm trước cách đây
mục cha
commit
a3da8dc673
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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: {},