mirror of
https://github.com/element-hq/element-web
synced 2024-11-23 17:56:01 +03:00
Don't use oobData if there is none
Fixes the "buttons don't work" problem on https://github.com/vector-im/riot-web/issues/10114
This commit is contained in:
parent
9771ce1e04
commit
a73436e1a1
1 changed files with 3 additions and 3 deletions
|
@ -238,9 +238,9 @@ module.exports = React.createClass({
|
|||
params: {
|
||||
email: this.props.invitedEmail,
|
||||
signurl: this.props.signUrl,
|
||||
room_name: this.props.oobData.room_name,
|
||||
room_avatar_url: this.props.oobData.avatarUrl,
|
||||
inviter_name: this.props.oobData.inviterName,
|
||||
room_name: this.props.oobData ? this.props.oobData.room_name : null,
|
||||
room_avatar_url: this.props.oobData ? this.props.oobData.avatarUrl : null,
|
||||
inviter_name: this.props.oobData ? this.props.oobData.inviterName : null,
|
||||
}
|
||||
};
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue