Remove RHS when viewing RoomDirectory

This commit is contained in:
Luke Barnard 2017-04-27 16:49:23 +01:00
parent 021cdb8010
commit 50831796bb

View file

@ -221,10 +221,8 @@ export default React.createClass({
case PageTypes.RoomDirectory:
page_element = <RoomDirectory
ref="roomDirectory"
collapsedRhs={this.props.collapse_rhs}
config={this.props.config.roomDirectory}
/>;
if (!this.props.collapse_rhs) right_panel = <RightPanel opacity={this.props.sideOpacity}/>;
break;
case PageTypes.HomePage: