Commit b5bc6925 by Torkel Ödegaard Committed by GitHub

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

Disable query should trigger refresh
parents 81981cf4 b1ef3c43
...@@ -166,6 +166,7 @@ export class QueryEditorRow extends PureComponent<Props, State> { ...@@ -166,6 +166,7 @@ export class QueryEditorRow extends PureComponent<Props, State> {
onDisableQuery = () => { onDisableQuery = () => {
this.props.query.hide = !this.props.query.hide; this.props.query.hide = !this.props.query.hide;
this.onExecuteQuery();
this.forceUpdate(); this.forceUpdate();
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment