mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Added catch to help get the Historical and any other weird sections into a sound state, so the states can then change correctly from then on
This commit is contained in:
parent
71f73d8df2
commit
895172d498
@ -137,6 +137,13 @@ var RoomSubList = React.createClass({
|
||||
this.setState({ capTruncate : true });
|
||||
// Truncated list
|
||||
this.setState({ truncateAt : TRUNCATE_AT });
|
||||
} else {
|
||||
// Catch any weird states the system gets into
|
||||
isHidden = false;
|
||||
this.setState({ hidden : isHidden });
|
||||
this.setState({ capTruncate : true });
|
||||
// Show truncated list
|
||||
this.setState({ truncateAt : TRUNCATE_AT });
|
||||
}
|
||||
|
||||
this.props.onShowMoreRooms();
|
||||
|
Loading…
Reference in New Issue
Block a user