Fix manange channel members search (#6707)

This commit is contained in:
Joram Wilander
2017-06-22 22:29:49 -04:00
committed by GitHub
parent dfbb16521c
commit b01da39887

View File

@@ -113,7 +113,7 @@ export default class MemberListChannel extends React.Component {
const searchTimeoutId = setTimeout(
() => {
searchUsers(term, TeamStore.getCurrentId(), {},
searchUsers(term, '', {in_channel_id: ChannelStore.getCurrentId()},
(users) => {
if (searchTimeoutId !== this.searchTimeoutId) {
return;