You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-27 04:21:52 +03:00
allow right panel to be hidden (although container is still visible)
This commit is contained in:
@ -97,8 +97,8 @@ export default class RoomGridView extends React.Component {
|
||||
if (activeRoomId) {
|
||||
rightPanel = (
|
||||
<div className="mx_GroupGridView_rightPanel">
|
||||
<div className="mx_GroupGridView_tabs"><RoomHeaderButtons /></div>
|
||||
<RightPanel roomId={activeRoomId} />
|
||||
<div className="mx_GroupGridView_tabs"><RoomHeaderButtons collapsedRhs={this.props.collapsedRhs} /></div>
|
||||
{ !this.props.collapsedRhs ? <RightPanel roomId={activeRoomId} /> : undefined }
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user