diff --git a/superset/assets/src/SqlLab/components/QueryAutoRefresh.jsx b/superset/assets/src/SqlLab/components/QueryAutoRefresh.jsx index 1e9fe05e1b6c8..dcaa27dd4dc53 100644 --- a/superset/assets/src/SqlLab/components/QueryAutoRefresh.jsx +++ b/superset/assets/src/SqlLab/components/QueryAutoRefresh.jsx @@ -54,6 +54,8 @@ class QueryAutoRefresh extends React.PureComponent { }).catch(() => { this.props.actions.setUserOffline(true); }); + } else { + this.props.actions.setUserOffline(false); } } render() {