Преглед изворни кода

Disable query should trigger refresh

Torkel Ödegaard пре 7 година
родитељ
комит
b1ef3c43f9
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();
   };