Changeset View
Changeset View
Standalone View
Standalone View
web/modals/threads/members/add-members-modal.react.js
Show First 20 Lines • Show All 53 Lines • ▼ Show 20 Lines | () => | ||||
threadActualMembers(threadInfo.members).concat( | threadActualMembers(threadInfo.members).concat( | ||||
Array.from(pendingUsersToAdd), | Array.from(pendingUsersToAdd), | ||||
), | ), | ||||
[pendingUsersToAdd, threadInfo.members], | [pendingUsersToAdd, threadInfo.members], | ||||
); | ); | ||||
const userSearchResults = React.useMemo( | const userSearchResults = React.useMemo( | ||||
() => | () => | ||||
getPotentialMemberItems( | getPotentialMemberItems({ | ||||
searchText, | text: searchText, | ||||
otherUserInfos, | userInfos: otherUserInfos, | ||||
userSearchIndex, | searchIndex: userSearchIndex, | ||||
excludeUserIDs, | excludeUserIDs, | ||||
parentThreadInfo, | inputParentThreadInfo: parentThreadInfo, | ||||
communityThreadInfo, | inputCommunityThreadInfo: communityThreadInfo, | ||||
threadInfo.type, | threadType: threadInfo.type, | ||||
), | }), | ||||
[ | [ | ||||
communityThreadInfo, | communityThreadInfo, | ||||
excludeUserIDs, | excludeUserIDs, | ||||
otherUserInfos, | otherUserInfos, | ||||
parentThreadInfo, | parentThreadInfo, | ||||
searchText, | searchText, | ||||
threadInfo.type, | threadInfo.type, | ||||
userSearchIndex, | userSearchIndex, | ||||
▲ Show 20 Lines • Show All 124 Lines • Show Last 20 Lines |