You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-11-28 09:24:05 +03:00
its list, not lists
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user