mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-05 04:06:44 +02:00
Merge pull request #2529 from matrix-org/travis/fix-build
Render the home page when viewing the directory
This commit is contained in:
commit
701919734f
@ -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…
x
Reference in New Issue
Block a user