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
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) {
|
if (activeRoomId) {
|
||||||
rightPanel = (
|
rightPanel = (
|
||||||
<div className="mx_GroupGridView_rightPanel">
|
<div className="mx_GroupGridView_rightPanel">
|
||||||
<div className="mx_GroupGridView_tabs"><RoomHeaderButtons /></div>
|
<div className="mx_GroupGridView_tabs"><RoomHeaderButtons collapsedRhs={this.props.collapsedRhs} /></div>
|
||||||
<RightPanel roomId={activeRoomId} />
|
{ !this.props.collapsedRhs ? <RightPanel roomId={activeRoomId} /> : undefined }
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -452,7 +452,7 @@ const LoggedInView = React.createClass({
|
|||||||
/>;
|
/>;
|
||||||
break;
|
break;
|
||||||
case PageTypes.GroupGridView:
|
case PageTypes.GroupGridView:
|
||||||
page_element = <GroupGridView />;
|
page_element = <GroupGridView collapsedRhs={this.props.collapsedRhs} />;
|
||||||
break;
|
break;
|
||||||
case PageTypes.UserSettings:
|
case PageTypes.UserSettings:
|
||||||
page_element = <UserSettings
|
page_element = <UserSettings
|
||||||
|
Reference in New Issue
Block a user