Просмотр исходного кода

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

Disable query should trigger refresh
Torkel Ödegaard 7 лет назад
Родитель
Сommit
b5bc69253f
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();
   };