diff --git a/src/components/structures/GroupView.js b/src/components/structures/GroupView.js
index 20fc4841ba..14d5d24bb5 100644
--- a/src/components/structures/GroupView.js
+++ b/src/components/structures/GroupView.js
@@ -216,6 +216,10 @@ export default React.createClass({
});
},
+ _onShowRhsClick: function(ev) {
+ dis.dispatch({ action: 'show_right_panel' });
+ },
+
_onEditClick: function() {
this.setState({
editing: true,
@@ -384,8 +388,8 @@ export default React.createClass({
let avatarNode;
let nameNode;
let shortDescNode;
- let rightButtons;
let roomBody;
+ let rightButtons = [];
const headerClasses = {
mx_GroupView_header: true,
};
@@ -428,15 +432,19 @@ export default React.createClass({
placeholder={_t('Description')}
tabIndex="2"
/>;
- rightButtons =
-