Explorar o código

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

Disable query should trigger refresh
Torkel Ödegaard %!s(int64=7) %!d(string=hai) anos
pai
achega
b5bc69253f

+ 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();
   };