mirror of https://github.com/vector-im/riot-web
move in case it is racey ---- somehow?
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>pull/21833/head
parent
04aed416d2
commit
b712a15a14
|
@ -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();
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue