Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3498995
D6608.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D6608.diff
View Options
diff --git a/web/chat/thread-top-bar.react.js b/web/chat/thread-top-bar.react.js
--- a/web/chat/thread-top-bar.react.js
+++ b/web/chat/thread-top-bar.react.js
@@ -4,6 +4,7 @@
import { threadIsPending } from 'lib/shared/thread-utils';
import type { ThreadInfo } from 'lib/types/thread-types';
+import { useResolvedThreadInfo } from 'lib/utils/entity-helpers';
import ThreadAncestors from './chat-thread-ancestors.react';
import ThreadMenu from './thread-menu.react';
@@ -26,6 +27,7 @@
threadMenu = <ThreadMenu threadInfo={threadInfo} />;
}
+ const { uiName } = useResolvedThreadInfo(threadInfo);
return (
<div className={css.topBarContainer}>
<div className={css.topBarThreadInfo}>
@@ -33,7 +35,7 @@
className={css.threadColorSquare}
style={threadBackgroundColorStyle}
/>
- <p className={css.threadTitle}>{threadInfo.uiName}</p>
+ <p className={css.threadTitle}>{uiName}</p>
<ThreadAncestors threadInfo={threadInfo} />
</div>
{threadMenu}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 20, 10:13 PM (12 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2683516
Default Alt Text
D6608.diff (1 KB)
Attached To
Mode
D6608: [web] Fetch ENS names in ThreadTopBar
Attached
Detach File
Event Timeline
Log In to Comment