mirror of
https://github.com/element-hq/element-web
synced 2024-11-28 04:21:57 +03:00
Use teamToken, not config when doing screen fallback
This commit is contained in:
parent
c93b6c3c34
commit
d5f6ecdc49
1 changed files with 1 additions and 1 deletions
|
@ -723,7 +723,7 @@ module.exports = React.createClass({
|
|||
} else {
|
||||
// There is no information on presentedId
|
||||
// so point user to fallback like /directory
|
||||
if (self.props.config.home_page) {
|
||||
if (self._teamToken) {
|
||||
self.notifyNewScreen('home');
|
||||
} else {
|
||||
self.notifyNewScreen('directory');
|
||||
|
|
Loading…
Reference in a new issue