mirror of https://github.com/vector-im/riot-web
Render the home page when viewing the directory
The only time this happens is if someone goes to #/directory without previously visiting a page (ie: fresh landing).pull/21833/head
parent
bdf2bb5601
commit
190b763c5d
|
@ -619,8 +619,12 @@ export default React.createClass({
|
|||
Modal.createTrackedDialog('Room directory', '', RoomDirectory, {
|
||||
config: this.props.config,
|
||||
}, 'mx_RoomDirectory_dialogWrapper');
|
||||
// this._setPage(PageTypes.RoomDirectory);
|
||||
// this.notifyNewScreen('directory');
|
||||
|
||||
// View the home page if we need something to look at
|
||||
if (!this.state.currentGroupId && !this.state.currentRoomId) {
|
||||
this._setPage(PageTypes.HomePage);
|
||||
this.notifyNewScreen('home');
|
||||
}
|
||||
}
|
||||
break;
|
||||
case 'view_my_groups':
|
||||
|
|
Loading…
Reference in New Issue