mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 19:56:47 +03:00
fix lint
This commit is contained in:
parent
9f1b4ac4cc
commit
7c0f463c91
2 changed files with 3 additions and 4 deletions
|
@ -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);
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in a new issue