its list, not lists

pull/21833/head
Bruno Windels 2019-02-07 13:40:29 +00:00
parent 7affcf7f4c
commit 252a61379c
1 changed files with 1 additions and 1 deletions

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',