You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-28 15:22:05 +03:00
remove group header expand right panel button
This commit is contained in:
@ -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;
|
||||||
|
Reference in New Issue
Block a user