mirror of https://github.com/vector-im/riot-web
Fix new space invite button in the room intro
parent
e31fc91a03
commit
5e00818d70
|
@ -116,7 +116,7 @@ const NewRoomIntro = () => {
|
|||
className="mx_NewRoomIntro_inviteButton"
|
||||
kind="primary"
|
||||
onClick={() => {
|
||||
dis.dispatch({ action: "view_invite", roomId });
|
||||
dis.dispatch({ action: "view_invite", roomId: parentSpace.roomId });
|
||||
}}
|
||||
>
|
||||
{_t("Invite to %(spaceName)s", { spaceName: parentSpace.name })}
|
||||
|
|
Loading…
Reference in New Issue