You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by gr...@apache.org on 2018/01/27 02:09:13 UTC
[incubator-superset] branch master updated: Reverts
apache/incubator-superset#4244 (#4303)
This is an automated email from the ASF dual-hosted git repository.
graceguo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git
The following commit(s) were added to refs/heads/master by this push:
new f8dcbf7 Reverts apache/incubator-superset#4244 (#4303)
f8dcbf7 is described below
commit f8dcbf70c569a5961e140a4fc76059b92728e562
Author: Maxime Beauchemin <ma...@gmail.com>
AuthorDate: Fri Jan 26 18:09:09 2018 -0800
Reverts apache/incubator-superset#4244 (#4303)
---
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
graceguo@apache.org.