Просмотр исходного кода

propagate initial state back to explore query runner

Erik Sundell 7 лет назад
Родитель
Сommit
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() {