Page MenuHomePhabricator

D12715.id42208.diff
No OneTemporary

D12715.id42208.diff

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

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)

Event Timeline