mirror of https://github.com/vector-im/riot-web
rerender roomlist when banner gets shown/hidden, to update the layout
parent
8ffeee6a98
commit
cb9ebf8b8b
|
@ -212,6 +212,7 @@ const LeftPanel = React.createClass({
|
||||||
<CallPreview ConferenceHandler={VectorConferenceHandler} />
|
<CallPreview ConferenceHandler={VectorConferenceHandler} />
|
||||||
<RoomList
|
<RoomList
|
||||||
ref={this.collectRoomList}
|
ref={this.collectRoomList}
|
||||||
|
toolbarShown={this.props.toolbarShown}
|
||||||
collapsed={this.props.collapsed}
|
collapsed={this.props.collapsed}
|
||||||
searchFilter={this.state.searchFilter}
|
searchFilter={this.state.searchFilter}
|
||||||
ConferenceHandler={VectorConferenceHandler} />
|
ConferenceHandler={VectorConferenceHandler} />
|
||||||
|
|
|
@ -553,6 +553,7 @@ const LoggedInView = React.createClass({
|
||||||
<DragDropContext onDragEnd={this._onDragEnd}>
|
<DragDropContext onDragEnd={this._onDragEnd}>
|
||||||
<div ref={this._setResizeContainerRef} className={bodyClasses}>
|
<div ref={this._setResizeContainerRef} className={bodyClasses}>
|
||||||
<LeftPanel
|
<LeftPanel
|
||||||
|
toolbarShown={!!topBar}
|
||||||
collapsed={this.props.collapseLhs || this.state.collapseLhs || false}
|
collapsed={this.props.collapseLhs || this.state.collapseLhs || false}
|
||||||
disabled={this.props.leftDisabled}
|
disabled={this.props.leftDisabled}
|
||||||
/>
|
/>
|
||||||
|
|
Loading…
Reference in New Issue