diff --git a/src/components/structures/RightPanel.js b/src/components/structures/RightPanel.js index cc5c8da6..ef800c61 100644 --- a/src/components/structures/RightPanel.js +++ b/src/components/structures/RightPanel.js @@ -165,6 +165,7 @@ module.exports = React.createClass({ var FilePanel = sdk.getComponent('structures.FilePanel'); var TintableSvg = sdk.getComponent("elements.TintableSvg"); var buttonGroup; + var inviteGroup; var panel; var filesHighlight; @@ -210,6 +211,14 @@ module.exports = React.createClass({ { notificationsHighlight } ; + + inviteGroup = +
+
+ +
+
Invite to this room
+
; } if (!this.props.collapsed) { @@ -244,12 +253,7 @@ module.exports = React.createClass({ { panel }
-
-
- -
-
Invite to this room
-
+ { inviteGroup }
);