mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-04 07:47:30 +03:00
Lint / comment out line correctly
This commit is contained in:
parent
7041106bf2
commit
859239f881
2 changed files with 5 additions and 5 deletions
|
@ -329,7 +329,6 @@ export default React.createClass({
|
||||||
render: function() {
|
render: function() {
|
||||||
const GroupAvatar = sdk.getComponent("avatars.GroupAvatar");
|
const GroupAvatar = sdk.getComponent("avatars.GroupAvatar");
|
||||||
const Loader = sdk.getComponent("elements.Spinner");
|
const Loader = sdk.getComponent("elements.Spinner");
|
||||||
const TintableSvg = sdk.getComponent("elements.TintableSvg");
|
|
||||||
const ChangeAvatar = sdk.getComponent("settings.ChangeAvatar");
|
const ChangeAvatar = sdk.getComponent("settings.ChangeAvatar");
|
||||||
|
|
||||||
if (this.state.summary === null && this.state.error === null) {
|
if (this.state.summary === null && this.state.error === null) {
|
||||||
|
@ -369,13 +368,13 @@ export default React.createClass({
|
||||||
onChange={this._onNameChange}
|
onChange={this._onNameChange}
|
||||||
placeholder={_t('Group Name')}
|
placeholder={_t('Group Name')}
|
||||||
tabIndex="1"
|
tabIndex="1"
|
||||||
/>
|
/>;
|
||||||
shortDescNode = <input type="text"
|
shortDescNode = <input type="text"
|
||||||
value={this.state.profileForm.short_description}
|
value={this.state.profileForm.short_description}
|
||||||
onChange={this._onShortDescChange}
|
onChange={this._onShortDescChange}
|
||||||
placeholder={_t('Description')}
|
placeholder={_t('Description')}
|
||||||
tabIndex="2"
|
tabIndex="2"
|
||||||
/>
|
/>;
|
||||||
rightButtons = <span>
|
rightButtons = <span>
|
||||||
<AccessibleButton className="mx_GroupView_saveButton mx_RoomHeader_textButton" onClick={this._onSaveClick}>
|
<AccessibleButton className="mx_GroupView_saveButton mx_RoomHeader_textButton" onClick={this._onSaveClick}>
|
||||||
{_t('Save')}
|
{_t('Save')}
|
||||||
|
@ -422,9 +421,9 @@ export default React.createClass({
|
||||||
{this._getFeaturedUsersNode()}
|
{this._getFeaturedUsersNode()}
|
||||||
</div>;
|
</div>;
|
||||||
// disabled until editing works
|
// disabled until editing works
|
||||||
rightButtons = null;//<AccessibleButton className="mx_GroupHeader_button" onClick={this._onEditClick} title={_t("Edit Group")}>
|
rightButtons = null;/*<AccessibleButton className="mx_GroupHeader_button" onClick={this._onEditClick} title={_t("Edit Group")}>
|
||||||
<TintableSvg src="img/icons-settings-room.svg" width="16" height="16"/>
|
<TintableSvg src="img/icons-settings-room.svg" width="16" height="16"/>
|
||||||
</AccessibleButton>;
|
</AccessibleButton>;*/
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
|
@ -307,6 +307,7 @@ export default React.createClass({
|
||||||
page_element = <GroupView
|
page_element = <GroupView
|
||||||
groupId={this.props.currentGroupId}
|
groupId={this.props.currentGroupId}
|
||||||
/>;
|
/>;
|
||||||
|
//right_panel = <RightPanel userId={this.props.viewUserId} opacity={this.props.rightOpacity} />;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue