Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3381639
D12715.id42208.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
712 B
Referenced Files
None
Subscribers
None
D12715.id42208.diff
View Options
diff --git a/web/settings/relationship/add-users-utils.js b/web/settings/relationship/add-users-utils.js
--- a/web/settings/relationship/add-users-utils.js
+++ b/web/settings/relationship/add-users-utils.js
@@ -220,10 +220,13 @@
inputCommunityThreadInfo: communityThreadInfo,
threadType,
});
- const userSearchResultWithENSNames = useENSNames(userSearchResults);
+
+ const filteredUserResults = userSearchResults.filter(item => !item.alert);
+
+ const userSearchResultWithENSNames = useENSNames(filteredUserResults);
const userResults: { [id: string]: UserListItem } =
- _keyBy('id')(userSearchResults);
+ _keyBy('id')(filteredUserResults);
return {
userInfos: userResults,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 29, 5:38 AM (18 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2596077
Default Alt Text
D12715.id42208.diff (712 B)
Attached To
Mode
D12715: [web] Don't allow creating subchannels with users the user should not be able to add
Attached
Detach File
Event Timeline
Log In to Comment