Parcourir la source

propagate initial state back to explore query runner

Erik Sundell il y a 7 ans
Parent
commit
e84e6740e6
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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() {