1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-17 17:42:41 +03:00

Send messages on widget addition and deletion

This commit is contained in:
Richard Lewis
2017-08-06 11:01:14 +01:00
parent 308d932b2f
commit 18ae5fd129
2 changed files with 9 additions and 1 deletions

View File

@@ -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");
},