mirror of
https://github.com/apache/superset.git
synced 2026-04-10 03:45:22 +00:00
[hotfix] fixing the (one js lint err in the) build
This commit is contained in:
@@ -19,7 +19,8 @@ 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', 'fetching'].indexOf(q.state) >= 0);
|
||||
return queriesAsArray.some(
|
||||
q => ['running', 'started', 'pending', 'fetching'].indexOf(q.state) >= 0);
|
||||
}
|
||||
startTimer() {
|
||||
if (!(this.timer)) {
|
||||
|
||||
Reference in New Issue
Block a user