From 683a4e90f7199edc7fc236733187327bbf4eb100 Mon Sep 17 00:00:00 2001 From: Maxime Beauchemin Date: Wed, 30 Jan 2019 11:12:31 -0800 Subject: [PATCH] [sql lab] fix stuck offline (#6782) (cherry picked from commit 7ffdefe66d39aad3d92db3ae2ca936931f7dd216) --- 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 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() {