mirror of
https://github.com/apache/superset.git
synced 2026-04-21 09:04:38 +00:00
Reverts apache/incubator-superset#4244 (#4303)
This commit is contained in:
committed by
Grace Guo
parent
b9299d61ac
commit
f8dcbf70c5
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user