[sql lab] fix stuck offline (#6782)

This commit is contained in:
Maxime Beauchemin 2019-01-30 11:12:31 -08:00 committed by GitHub
parent 11a7ad00b7
commit 36176f3e20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -72,6 +72,8 @@ class QueryAutoRefresh extends React.PureComponent {
}).catch(() => {
this.props.actions.setUserOffline(true);
});
} else {
this.props.actions.setUserOffline(false);
}
}
render() {