diff --git a/src/components/structures/MyGroups.js b/src/components/structures/MyGroups.js index cd0dda33f9..658a17c88f 100644 --- a/src/components/structures/MyGroups.js +++ b/src/components/structures/MyGroups.js @@ -91,11 +91,16 @@ export default WithMatrixClient(React.createClass({ ); }); - content =
{groupNodes}
; + content =
+
{_t('You are a member of these groups')}:
+ {groupNodes} +
; } else if (this.state.error) { content =
Error whilst fetching joined groups
; + } else { + content = ; } return
@@ -105,7 +110,6 @@ export default WithMatrixClient(React.createClass({ {_t('Create a new group')}
- You are a member of these groups: {content} ; }, diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index e4a13e0689..a3b81136d6 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -936,5 +936,6 @@ "+example:%(domain)s": "+example:%(domain)s", "Group IDs must be of the form +localpart:%(domain)s": "Group IDs must be of the form +localpart:%(domain)s", "It is currently only possible to create groups on your own home server: use a group ID ending with %(domain)s": "It is currently only possible to create groups on your own home server: use a group ID ending with %(domain)s", - "Room creation failed": "Room creation failed" + "Room creation failed": "Room creation failed", + "You are a member of these groups": "You are a member of these groups" }