mirror of https://github.com/vector-im/riot-web
its list, not lists
parent
7affcf7f4c
commit
252a61379c
|
@ -157,7 +157,7 @@ const RoomSubList = React.createClass({
|
||||||
// prevent the roomsublist collapsing
|
// prevent the roomsublist collapsing
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
const room = this.props.lists.find(room => RoomNotifs.getRoomHasBadge(room));
|
const room = this.props.list.find(room => RoomNotifs.getRoomHasBadge(room));
|
||||||
if (room) {
|
if (room) {
|
||||||
dis.dispatch({
|
dis.dispatch({
|
||||||
action: 'view_room',
|
action: 'view_room',
|
||||||
|
|
Loading…
Reference in New Issue