mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-05 20:26:19 +02:00
Fix new space invite button in the room intro
This commit is contained in:
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…
x
Reference in New Issue
Block a user