mirror of https://github.com/vector-im/riot-web
remove group header expand right panel button
parent
dafc54c434
commit
92c598dbcf
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue