瀏覽代碼

Temporarily run queries independently from UI state of explore panels

Dominik Prokop 6 年之前
父節點
當前提交
2ddccb4a21
共有 1 個文件被更改,包括 6 次插入6 次删除
  1. 6 6
      public/app/features/explore/state/actions.ts

+ 6 - 6
public/app/features/explore/state/actions.ts

@@ -577,9 +577,9 @@ export function runQueries(exploreId: ExploreId) {
     const {
       datasourceInstance,
       modifiedQueries,
-      showingLogs,
-      showingGraph,
-      showingTable,
+      // showingLogs,
+      // showingGraph,
+      // showingTable,
       supportsGraph,
       supportsLogs,
       supportsTable,
@@ -596,7 +596,7 @@ export function runQueries(exploreId: ExploreId) {
     const interval = datasourceInstance.interval;
 
     // Keep table queries first since they need to return quickly
-    if (showingTable && supportsTable) {
+    if (/*showingTable &&*/ supportsTable) {
       dispatch(
         runQueriesForType(
           exploreId,
@@ -611,7 +611,7 @@ export function runQueries(exploreId: ExploreId) {
         )
       );
     }
-    if (showingGraph && supportsGraph) {
+    if (/*showingGraph &&*/ supportsGraph) {
       dispatch(
         runQueriesForType(
           exploreId,
@@ -625,7 +625,7 @@ export function runQueries(exploreId: ExploreId) {
         )
       );
     }
-    if (showingLogs && supportsLogs) {
+    if (/*showingLogs &&*/ supportsLogs) {
       dispatch(runQueriesForType(exploreId, 'Logs', { interval, format: 'logs' }));
     }
     dispatch(stateSave());