Merge pull request #6708 from SimonBrandner/fix/ml-filter-load
Filter members on `MemberList` load
This commit is contained in:
commit
a5ccd690a6
1 changed files with 2 additions and 2 deletions
|
@ -185,8 +185,8 @@ export default class MemberList extends React.Component<IProps, IState> {
|
|||
return {
|
||||
loading: false,
|
||||
members: members,
|
||||
filteredJoinedMembers: this.filterMembers(members, 'join'),
|
||||
filteredInvitedMembers: this.filterMembers(members, 'invite'),
|
||||
filteredJoinedMembers: this.filterMembers(members, 'join', searchQuery),
|
||||
filteredInvitedMembers: this.filterMembers(members, 'invite', searchQuery),
|
||||
canInvite: this.canInvite,
|
||||
|
||||
// ideally we'd size this to the page height, but
|
||||
|
|
Loading…
Reference in a new issue