Przeglądaj źródła

propagate initial state back to explore query runner

Erik Sundell 7 lat temu
rodzic
commit
e84e6740e6
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      public/app/features/explore/QueryEditor.tsx

+ 1 - 0
public/app/features/explore/QueryEditor.tsx

@@ -53,6 +53,7 @@ export default class QueryEditor extends PureComponent<QueryEditorProps, any> {
     };
 
     this.component = loader.load(this.element, scopeProps, template);
+    this.props.onQueryChange(target, false);
   }
 
   componentWillUnmount() {