fix NPE
This commit is contained in:
parent
96539a4054
commit
8fea4c27cb
1 changed files with 1 additions and 1 deletions
|
@ -385,7 +385,7 @@ module.exports = React.createClass({
|
||||||
}
|
}
|
||||||
userEvents[userId].push({
|
userEvents[userId].push({
|
||||||
mxEvent: e,
|
mxEvent: e,
|
||||||
displayName: e.target.name || userId,
|
displayName: (e.target ? e.target.name : null) || userId,
|
||||||
index: index,
|
index: index,
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue