superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maximebeauche...@apache.org
Subject [incubator-superset] 20/20: Revert "[Sql Lab] Fix Autorefresh component pulling not stopped. (#4244)"
Date Sat, 27 Jan 2018 00:16:42 GMT
This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a commit to branch revert-4244-gg-FixAutoRefresher
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git

commit f37aeb64cd08e4fef5066d75b6a5017c05c02a06
Author: Maxime Beauchemin <maximebeauchemin@gmail.com>
AuthorDate: Fri Jan 26 16:16:18 2018 -0800

    Revert "[Sql Lab] Fix Autorefresh component pulling not stopped. (#4244)"
    
    This reverts commit 1c56319be472399805d3f56e590a49f4ea239451.
---
 superset/assets/javascripts/SqlLab/components/QueryAutoRefresh.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset/assets/javascripts/SqlLab/components/QueryAutoRefresh.jsx b/superset/assets/javascripts/SqlLab/components/QueryAutoRefresh.jsx
index 6f788ac..892b7ca 100644
--- a/superset/assets/javascripts/SqlLab/components/QueryAutoRefresh.jsx
+++ b/superset/assets/javascripts/SqlLab/components/QueryAutoRefresh.jsx
@@ -22,7 +22,7 @@ class QueryAutoRefresh extends React.PureComponent {
     const queryKeys = Object.keys(queries);
     const queriesAsArray = queryKeys.map(key => queries[key]);
     return queriesAsArray.some(q =>
-      ['running', 'started', 'pending', 'fetching'].indexOf(q.state) >= 0).length;
+      ['running', 'started', 'pending', 'fetching'].indexOf(q.state) >= 0);
   }
   startTimer() {
     if (!(this.timer)) {

-- 
To stop receiving notification emails like this one, please contact
maximebeauchemin@apache.org.

Mime
View raw message