diff --git a/src/components/structures/GroupView.js b/src/components/structures/GroupView.js
index a343d1c971..801d2e282e 100644
--- a/src/components/structures/GroupView.js
+++ b/src/components/structures/GroupView.js
@@ -1059,7 +1059,7 @@ export default React.createClass({
- { bodyNodes }
+ { this._getMembershipSection() }
+ { this._getGroupSection() }
);
diff --git a/src/components/structures/MyGroups.js b/src/components/structures/MyGroups.js
index 7a93cfb886..edb50fcedb 100644
--- a/src/components/structures/MyGroups.js
+++ b/src/components/structures/MyGroups.js
@@ -70,7 +70,7 @@ export default withMatrixClient(React.createClass({
if (this.state.groups) {
const groupNodes = [];
this.state.groups.forEach((g) => {
- groupNodes.push();
+ groupNodes.push();
});
contentHeader = groupNodes.length > 0 ? { _t('Your Communities') }
: ;
content = groupNodes.length > 0 ?
@@ -124,7 +124,7 @@ export default withMatrixClient(React.createClass({
) }
-
+ {/*
@@ -140,7 +140,7 @@ export default withMatrixClient(React.createClass({
{ 'i': (sub) =>
{ sub } })
}
-
+ */}
{ contentHeader }
diff --git a/src/components/views/dialogs/ChatCreateOrReuseDialog.js b/src/components/views/dialogs/ChatCreateOrReuseDialog.js
index 95fd8848ba..9228e59280 100644
--- a/src/components/views/dialogs/ChatCreateOrReuseDialog.js
+++ b/src/components/views/dialogs/ChatCreateOrReuseDialog.js
@@ -170,7 +170,7 @@ export default class ChatCreateOrReuseDialog extends React.Component {
{ profile }
+ onPrimaryButtonClick={this.props.onNewDMClick} focus={true} />
;
}
diff --git a/src/components/views/groups/GroupPublicityToggle.js b/src/components/views/groups/GroupPublicityToggle.js
index 78522c2f55..ff0fc553b8 100644
--- a/src/components/views/groups/GroupPublicityToggle.js
+++ b/src/components/views/groups/GroupPublicityToggle.js
@@ -69,7 +69,7 @@ export default React.createClass({
render() {
const GroupTile = sdk.getComponent('groups.GroupTile');
const input = ;
const labelText = !this.state.ready ? _t("Loading...") :
diff --git a/src/components/views/groups/GroupTile.js b/src/components/views/groups/GroupTile.js
index c1554cd9ed..509c209baa 100644
--- a/src/components/views/groups/GroupTile.js
+++ b/src/components/views/groups/GroupTile.js
@@ -22,6 +22,7 @@ import sdk from '../../../index';
import dis from '../../../dispatcher';
import FlairStore from '../../../stores/FlairStore';
+function nop() {}
const GroupTile = React.createClass({
displayName: 'GroupTile',
@@ -81,7 +82,7 @@ const GroupTile = React.createClass({
) : null;
// XXX: Use onMouseDown as a workaround for https://github.com/atlassian/react-beautiful-dnd/issues/273
// instead of onClick. Otherwise we experience https://github.com/vector-im/riot-web/issues/6156
- return
+ return
{ (droppableProvided, droppableSnapshot) => (