mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-06 04:36:21 +02:00
its list, not lists
This commit is contained in:
parent
7affcf7f4c
commit
252a61379c
@ -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',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user