This commit is contained in:
Bruno Windels 2019-01-29 15:40:19 +01:00
parent 9f1b4ac4cc
commit 7c0f463c91
2 changed files with 3 additions and 4 deletions

View file

@ -614,13 +614,14 @@ export default React.createClass({
Modal.createTrackedDialog('Create Community', '', CreateGroupDialog);
}
break;
case 'view_room_directory':
case 'view_room_directory': {
const RoomDirectory = sdk.getComponent("structures.RoomDirectory");
Modal.createTrackedDialog('Room directory', '', RoomDirectory, {
config: this.props.config,
}, 'mx_RoomDirectory_dialogWrapper');
// this._setPage(PageTypes.RoomDirectory);
// this.notifyNewScreen('directory');
}
break;
case 'view_my_groups':
this._setPage(PageTypes.MyGroups);

View file

@ -106,8 +106,6 @@ export default React.createClass({
},
render: function() {
const TintableSvg = sdk.getComponent("elements.TintableSvg");
let cancelButton;
if (this.props.hasCancel) {
cancelButton = <AccessibleButton onClick={this._onCancelClick} className="mx_Dialog_cancelButton">