소스 검색

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