Use teamToken, not config when doing screen fallback

pull/21833/head
Luke Barnard 2017-02-07 13:23:58 +00:00
parent c93b6c3c34
commit d5f6ecdc49
1 changed files with 1 additions and 1 deletions

View File

@ -723,7 +723,7 @@ module.exports = React.createClass({
} else { } else {
// There is no information on presentedId // There is no information on presentedId
// so point user to fallback like /directory // so point user to fallback like /directory
if (self.props.config.home_page) { if (self._teamToken) {
self.notifyNewScreen('home'); self.notifyNewScreen('home');
} else { } else {
self.notifyNewScreen('directory'); self.notifyNewScreen('directory');