mirror of https://github.com/vector-im/riot-web
				
				
				
			Only show invited section if there are invited group members
							parent
							
								
									760b3cc60a
								
							
						
					
					
						commit
						14eee9a37a
					
				|  | @ -161,10 +161,11 @@ export default withMatrixClient(React.createClass({ | |||
|             { this.makeGroupMemberTiles(this.state.searchQuery, this.state.members) } | ||||
|         </div> : <div />; | ||||
| 
 | ||||
|         const invited = this.state.invitedMembers ? <div className="mx_MemberList_invited"> | ||||
|             <h2>{ _t("Invited") }</h2> | ||||
|             { this.makeGroupMemberTiles(this.state.searchQuery, this.state.invitedMembers) } | ||||
|         </div> : <div />; | ||||
|         const invited = (this.state.invitedMembers || this.state.invitedMembers.length > 0) ? | ||||
|             <div className="mx_MemberList_invited"> | ||||
|                 <h2>{ _t("Invited") }</h2> | ||||
|                 { this.makeGroupMemberTiles(this.state.searchQuery, this.state.invitedMembers) } | ||||
|             </div> : <div />; | ||||
| 
 | ||||
|         return ( | ||||
|             <div className="mx_MemberList"> | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Luke Barnard
						Luke Barnard