1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-08 21:42:24 +03:00

its list, not lists

This commit is contained in:
Bruno Windels
2019-02-07 13:40:29 +00:00
parent 7affcf7f4c
commit 252a61379c

View File

@@ -157,7 +157,7 @@ const RoomSubList = React.createClass({
// prevent the roomsublist collapsing
e.preventDefault();
e.stopPropagation();
const room = this.props.lists.find(room => RoomNotifs.getRoomHasBadge(room));
const room = this.props.list.find(room => RoomNotifs.getRoomHasBadge(room));
if (room) {
dis.dispatch({
action: 'view_room',