move in case it is racey ---- somehow?

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2017-06-20 16:15:42 +01:00
parent 04aed416d2
commit b712a15a14

View file

@ -993,7 +993,6 @@ module.exports = React.createClass({
* Called when the session is logged out * Called when the session is logged out
*/ */
_onLoggedOut: function() { _onLoggedOut: function() {
this._setPageSubtitle();
this.notifyNewScreen('login'); this.notifyNewScreen('login');
this.setStateForNewView({ this.setStateForNewView({
view: VIEWS.LOGIN, view: VIEWS.LOGIN,
@ -1004,6 +1003,7 @@ module.exports = React.createClass({
page_type: PageTypes.RoomDirectory, page_type: PageTypes.RoomDirectory,
}); });
this._teamToken = null; this._teamToken = null;
this._setPageSubtitle();
}, },
/** /**