浏览代码

Merge pull request #15016 from grafana/fix-disable-query

Disable query should trigger refresh
Torkel Ödegaard 7 年之前
父节点
当前提交
b5bc69253f
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      public/app/features/dashboard/panel_editor/QueryEditorRow.tsx

+ 1 - 0
public/app/features/dashboard/panel_editor/QueryEditorRow.tsx

@@ -166,6 +166,7 @@ export class QueryEditorRow extends PureComponent<Props, State> {
 
   onDisableQuery = () => {
     this.props.query.hide = !this.props.query.hide;
+    this.onExecuteQuery();
     this.forceUpdate();
   };