+ );
+ } else {
+ // If there is no event - we're viewing an avatar, we set
+ // an empty div here, since the panel uses space-between
+ // and we want the same placement of elements
+ info = (
+
+ );
+ }
+
+ let contextMenuButton;
+ if (this.props.mxEvent) {
+ contextMenuButton = (
+
+ );
+ }
+
+ return (
+
+