Преглед изворни кода

propagate initial state back to explore query runner

Erik Sundell пре 7 година
родитељ
комит
e84e6740e6
1 измењених фајлова са 1 додато и 0 уклоњено
  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() {