This is an automated email from the ASF dual-hosted git repository.
maximebeauchemin 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 36176f3 [sql lab] fix stuck offline (#6782)
36176f3 is described below
commit 36176f3e208793e49319248b45c6a9f5be10b7e2
Author: Maxime Beauchemin <maximebeauchemin@gmail.com>
AuthorDate: Wed Jan 30 11:12:31 2019 -0800
[sql lab] fix stuck offline (#6782)
---
superset/assets/src/SqlLab/components/QueryAutoRefresh.jsx | 2 ++
1 file changed, 2 insertions(+)
diff --git a/superset/assets/src/SqlLab/components/QueryAutoRefresh.jsx b/superset/assets/src/SqlLab/components/QueryAutoRefresh.jsx
index bdd8799..541ce2d 100644
--- a/superset/assets/src/SqlLab/components/QueryAutoRefresh.jsx
+++ b/superset/assets/src/SqlLab/components/QueryAutoRefresh.jsx
@@ -72,6 +72,8 @@ class QueryAutoRefresh extends React.PureComponent {
}).catch(() => {
this.props.actions.setUserOffline(true);
});
+ } else {
+ this.props.actions.setUserOffline(false);
}
}
render() {
|