Browse Source

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

Disable query should trigger refresh
Torkel Ödegaard 7 years ago
parent
commit
b5bc69253f
1 changed files with 1 additions and 0 deletions
  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();
   };