mirror of https://github.com/vector-im/riot-web
read collapsedRhs from props when mounting main split
parent
a734fb9d35
commit
f744374d1d
|
@ -55,7 +55,7 @@ export default class MainSplit extends React.Component {
|
|||
}
|
||||
|
||||
componentDidMount() {
|
||||
if (this.props.panel && !this.collapsedRhs) {
|
||||
if (this.props.panel && !this.props.collapsedRhs) {
|
||||
this._createResizer();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue