Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3311464
D13550.id44731.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
801 B
Referenced Files
None
Subscribers
None
D13550.id44731.diff
View Options
diff --git a/web/chat/thread-menu.react.js b/web/chat/thread-menu.react.js
--- a/web/chat/thread-menu.react.js
+++ b/web/chat/thread-menu.react.js
@@ -26,7 +26,8 @@
import type { ThreadInfo } from 'lib/types/minimally-encoded-thread-permissions-types.js';
import { threadPermissions } from 'lib/types/thread-permission-types.js';
import {
- threadTypes,
+ threadTypeIsPersonal,
+ threadTypeIsPrivate,
threadTypeIsSidebar,
threadTypeIsThick,
thickThreadTypes,
@@ -80,7 +81,10 @@
[popModal, pushModal, threadInfo.id],
);
const membersItem = React.useMemo(() => {
- if (threadInfo.type === threadTypes.GENESIS_PERSONAL) {
+ if (
+ threadTypeIsPersonal(threadInfo.type) ||
+ threadTypeIsPrivate(threadInfo.type)
+ ) {
return null;
}
return (
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 20, 8:52 AM (21 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2543857
Default Alt Text
D13550.id44731.diff (801 B)
Attached To
Mode
D13550: [web] Hide members option in ThreadMenu for all private and personal threads
Attached
Detach File
Event Timeline
Log In to Comment