Sfoglia il codice sorgente

propagate initial state back to explore query runner

Erik Sundell 7 anni fa
parent
commit
e84e6740e6
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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() {