From 252a61379cd59ae807317bc1007dc6139206e7b6 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Thu, 7 Feb 2019 13:40:29 +0000 Subject: [PATCH 1/2] its list, not lists --- src/components/structures/RoomSubList.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/structures/RoomSubList.js b/src/components/structures/RoomSubList.js index a2792e3782..4644d19f61 100644 --- a/src/components/structures/RoomSubList.js +++ b/src/components/structures/RoomSubList.js @@ -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', From 5b85f8928d67f5173dda6731c429cf080fc6fcf4 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Thu, 7 Feb 2019 13:40:50 +0000 Subject: [PATCH 2/2] show a hand cursor on the badge while we're at it --- res/css/structures/_RoomSubList.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/res/css/structures/_RoomSubList.scss b/res/css/structures/_RoomSubList.scss index eb056a5eff..9791be902f 100644 --- a/res/css/structures/_RoomSubList.scss +++ b/res/css/structures/_RoomSubList.scss @@ -75,6 +75,7 @@ limitations under the License. font-size: 12px; padding: 0 5px; background-color: $roomtile-name-color; + cursor: pointer; } .mx_RoomSubList_addRoom, .mx_RoomSubList_badge {