You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-28 15:22:05 +03:00
Fix Create Room button
Opened the DM dialog rather than the new room dialog
This commit is contained in:
@ -21,7 +21,7 @@ import PropTypes from 'prop-types';
|
|||||||
const CreateRoomButton = function(props) {
|
const CreateRoomButton = function(props) {
|
||||||
const ActionButton = sdk.getComponent('elements.ActionButton');
|
const ActionButton = sdk.getComponent('elements.ActionButton');
|
||||||
return (
|
return (
|
||||||
<ActionButton action="view_create_chat"
|
<ActionButton action="view_create_room"
|
||||||
label="Create new room"
|
label="Create new room"
|
||||||
iconPath="img/icons-create-room.svg"
|
iconPath="img/icons-create-room.svg"
|
||||||
size={props.size}
|
size={props.size}
|
||||||
|
Reference in New Issue
Block a user