superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From christ...@apache.org
Subject [incubator-superset] branch release--0.31 updated: [sql lab] fix stuck offline (#6782)
Date Fri, 08 Feb 2019 17:28:02 GMT
This is an automated email from the ASF dual-hosted git repository.

christine pushed a commit to branch release--0.31
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/release--0.31 by this push:
     new b7e02ab  [sql lab] fix stuck offline (#6782)
b7e02ab is described below

commit b7e02ab776df6fe37c6b18396f3507560db882e4
Author: Maxime Beauchemin <maximebeauchemin@gmail.com>
AuthorDate: Wed Jan 30 11:12:31 2019 -0800

    [sql lab] fix stuck offline (#6782)
    
    
    (cherry picked from commit 36176f3e208793e49319248b45c6a9f5be10b7e2)
---
 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() {


Mime
View raw message