mirror of
https://github.com/vector-im/element-web.git
synced 2025-10-10 15:02:05 +02:00
fix context menu on tiles without widgets
This commit is contained in:
parent
a01e6d46b9
commit
6a6739e0f3
@ -43,7 +43,7 @@ module.exports = React.createClass({
|
|||||||
},
|
},
|
||||||
|
|
||||||
getEventTileOps: function() {
|
getEventTileOps: function() {
|
||||||
return this.refs.body ? this.refs.body.getEventTileOps() : null;
|
return this.refs.body && this.refs.body.getEventTileOps ? this.refs.body.getEventTileOps() : null;
|
||||||
},
|
},
|
||||||
|
|
||||||
render: function() {
|
render: function() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user