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