Filter members on load
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
5e934c17da
commit
9684d7263b
1 changed files with 2 additions and 2 deletions
|
@ -185,8 +185,8 @@ export default class MemberList extends React.Component<IProps, IState> {
|
||||||
return {
|
return {
|
||||||
loading: false,
|
loading: false,
|
||||||
members: members,
|
members: members,
|
||||||
filteredJoinedMembers: this.filterMembers(members, 'join'),
|
filteredJoinedMembers: this.filterMembers(members, 'join', searchQuery),
|
||||||
filteredInvitedMembers: this.filterMembers(members, 'invite'),
|
filteredInvitedMembers: this.filterMembers(members, 'invite', searchQuery),
|
||||||
canInvite: this.canInvite,
|
canInvite: this.canInvite,
|
||||||
|
|
||||||
// ideally we'd size this to the page height, but
|
// ideally we'd size this to the page height, but
|
||||||
|
|
Loading…
Reference in a new issue