Merge pull request #4972 from matrix-org/travis/room-list/prelaunch/3-remove-debug
Remove debug logging from new room list
This commit is contained in:
commit
e1b34acdc8
4 changed files with 1 additions and 157 deletions
|
@ -209,13 +209,7 @@ export default class RoomList2 extends React.Component<IProps, IState> {
|
|||
};
|
||||
|
||||
private updateLists = () => {
|
||||
const newLists = RoomListStore.instance.orderedLists;
|
||||
if (!window.mx_QuietRoomListLogging) {
|
||||
// TODO: Remove debug: https://github.com/vector-im/riot-web/issues/14035
|
||||
console.log("new lists", newLists);
|
||||
}
|
||||
|
||||
this.setState({sublists: newLists}, () => {
|
||||
this.setState({sublists: RoomListStore.instance.orderedLists}, () => {
|
||||
this.props.onResize();
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue