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);
|
Modal.createTrackedDialog('Create Community', '', CreateGroupDialog);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'view_room_directory':
|
case 'view_room_directory': {
|
||||||
const RoomDirectory = sdk.getComponent("structures.RoomDirectory");
|
const RoomDirectory = sdk.getComponent("structures.RoomDirectory");
|
||||||
Modal.createTrackedDialog('Room directory', '', RoomDirectory, {
|
Modal.createTrackedDialog('Room directory', '', RoomDirectory, {
|
||||||
config: this.props.config,
|
config: this.props.config,
|
||||||
}, 'mx_RoomDirectory_dialogWrapper');
|
}, 'mx_RoomDirectory_dialogWrapper');
|
||||||
// this._setPage(PageTypes.RoomDirectory);
|
// this._setPage(PageTypes.RoomDirectory);
|
||||||
// this.notifyNewScreen('directory');
|
// this.notifyNewScreen('directory');
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case 'view_my_groups':
|
case 'view_my_groups':
|
||||||
this._setPage(PageTypes.MyGroups);
|
this._setPage(PageTypes.MyGroups);
|
||||||
|
|
|
@ -106,8 +106,6 @@ export default React.createClass({
|
||||||
},
|
},
|
||||||
|
|
||||||
render: function() {
|
render: function() {
|
||||||
const TintableSvg = sdk.getComponent("elements.TintableSvg");
|
|
||||||
|
|
||||||
let cancelButton;
|
let cancelButton;
|
||||||
if (this.props.hasCancel) {
|
if (this.props.hasCancel) {
|
||||||
cancelButton = <AccessibleButton onClick={this._onCancelClick} className="mx_Dialog_cancelButton">
|
cancelButton = <AccessibleButton onClick={this._onCancelClick} className="mx_Dialog_cancelButton">
|
||||||
|
|
Loading…
Reference in a new issue