diff --git a/src/components/views/groups/GroupMemberList.js b/src/components/views/groups/GroupMemberList.js index f800130a32..61032724e4 100644 --- a/src/components/views/groups/GroupMemberList.js +++ b/src/components/views/groups/GroupMemberList.js @@ -161,10 +161,11 @@ export default withMatrixClient(React.createClass({ { this.makeGroupMemberTiles(this.state.searchQuery, this.state.members) } :
; - const invited = this.state.invitedMembers ?
-

{ _t("Invited") }

- { this.makeGroupMemberTiles(this.state.searchQuery, this.state.invitedMembers) } -
:
; + const invited = (this.state.invitedMembers && this.state.invitedMembers.length > 0) ? +
+

{ _t("Invited") }

+ { this.makeGroupMemberTiles(this.state.searchQuery, this.state.invitedMembers) } +
:
; return (