mirror of
https://github.com/element-hq/element-web
synced 2024-11-28 12:28:50 +03:00
Merge pull request #4582 from matrix-org/dbkr/fix_room_preview_signin_buttons
Fix sign in / up links on previewed rooms
This commit is contained in:
commit
ea502b83ff
1 changed files with 3 additions and 3 deletions
|
@ -266,9 +266,9 @@ export default createReactClass({
|
||||||
params: {
|
params: {
|
||||||
email: this.props.invitedEmail,
|
email: this.props.invitedEmail,
|
||||||
signurl: this.props.signUrl,
|
signurl: this.props.signUrl,
|
||||||
room_name: this.props.oobData.room_name,
|
room_name: this.props.oobData ? this.props.oobData.room_name : null,
|
||||||
room_avatar_url: this.props.oobData.avatarUrl,
|
room_avatar_url: this.props.oobData ? this.props.oobData.avatarUrl : null,
|
||||||
inviter_name: this.props.oobData.inviterName,
|
inviter_name: this.props.oobData ? this.props.oobData.inviterName : null,
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue