remove group header expand right panel button

pull/21833/head
Bruno Windels 2018-12-18 15:38:15 +01:00
parent dafc54c434
commit 92c598dbcf
1 changed files with 0 additions and 9 deletions

View File

@ -1272,15 +1272,6 @@ export default React.createClass({
<TintableSvg src="img/icons-share.svg" width="16" height="16" /> <TintableSvg src="img/icons-share.svg" width="16" height="16" />
</AccessibleButton>, </AccessibleButton>,
); );
if (this.props.collapsedRhs) {
rightButtons.push(
<AccessibleButton className="mx_GroupHeader_button"
onClick={this._onShowRhsClick} title={_t('Show panel')} key="_maximiseButton"
>
<TintableSvg src="img/maximise.svg" width="10" height="16" />
</AccessibleButton>,
);
}
} }
const rightPanel = !this.props.collapsedRhs ? <RightPanel groupId={this.props.groupId} /> : undefined; const rightPanel = !this.props.collapsedRhs ? <RightPanel groupId={this.props.groupId} /> : undefined;