mirror of https://github.com/apache/superset.git
Adding to polling states
This commit is contained in:
parent
4f59abf189
commit
6f68ddb505
|
@ -19,7 +19,7 @@ class QueryAutoRefresh extends React.PureComponent {
|
|||
const { queries } = this.props;
|
||||
const queryKeys = Object.keys(queries);
|
||||
const queriesAsArray = queryKeys.map(key => queries[key]);
|
||||
return queriesAsArray.some(q => ['running', 'started', 'pending'].indexOf(q.state) >= 0);
|
||||
return queriesAsArray.some(q => ['running', 'started', 'pending', 'fetching'].indexOf(q.state) >= 0);
|
||||
}
|
||||
startTimer() {
|
||||
if (!(this.timer)) {
|
||||
|
|
Loading…
Reference in New Issue