Send messages on widget addition and deletion
This commit is contained in:
parent
308d932b2f
commit
18ae5fd129
2 changed files with 9 additions and 1 deletions
|
@ -121,7 +121,9 @@ module.exports = React.createClass({
|
|||
this.scalarClient.getScalarInterfaceUrlForRoom(this.props.room.roomId) :
|
||||
null,
|
||||
onFinished: ()=>{
|
||||
this.props.onCancelClick(ev);
|
||||
if (this.props.onCancelClick) {
|
||||
this.props.onCancelClick(ev);
|
||||
}
|
||||
},
|
||||
}, "mx_IntegrationsManager");
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue