Procházet zdrojové kódy

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

Disable query should trigger refresh
Torkel Ödegaard před 7 roky
rodič
revize
b5bc69253f

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

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