mirror of https://github.com/vector-im/riot-web
allow right panel to be hidden (although container is still visible)
parent
290dc9d8fb
commit
b63bd5ea54
|
@ -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>
|
||||
);
|
||||
}
|
||||
|
|
|
@ -452,7 +452,7 @@ const LoggedInView = React.createClass({
|
|||
/>;
|
||||
break;
|
||||
case PageTypes.GroupGridView:
|
||||
page_element = <GroupGridView />;
|
||||
page_element = <GroupGridView collapsedRhs={this.props.collapsedRhs} />;
|
||||
break;
|
||||
case PageTypes.UserSettings:
|
||||
page_element = <UserSettings
|
||||
|
|
Loading…
Reference in New Issue