You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-22 04:02:40 +03:00
Merge pull request #2582 from matrix-org/bwindels/fixnotifbadgeclickandcursor
Fix: click on notif badge
This commit is contained in:
@@ -75,6 +75,7 @@ limitations under the License.
|
|||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
padding: 0 5px;
|
padding: 0 5px;
|
||||||
background-color: $roomtile-name-color;
|
background-color: $roomtile-name-color;
|
||||||
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_RoomSubList_addRoom, .mx_RoomSubList_badge {
|
.mx_RoomSubList_addRoom, .mx_RoomSubList_badge {
|
||||||
|
|||||||
@@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user