Page MenuHomePhorge

D6614.1768430353.diff
No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None

D6614.1768430353.diff

diff --git a/web/modals/threads/thread-picker-modal.react.js b/web/modals/threads/thread-picker-modal.react.js
--- a/web/modals/threads/thread-picker-modal.react.js
+++ b/web/modals/threads/thread-picker-modal.react.js
@@ -7,6 +7,7 @@
import { useGlobalThreadSearchIndex } from 'lib/selectors/nav-selectors';
import { onScreenEntryEditableThreadInfos } from 'lib/selectors/thread-selectors';
import type { ThreadInfo } from 'lib/types/thread-types';
+import { useResolvedThreadInfo } from 'lib/utils/entity-helpers';
import Button from '../../components/button.react';
import Search from '../../components/search.react';
@@ -35,6 +36,7 @@
[threadInfo.color],
);
+ const { uiName } = useResolvedThreadInfo(threadInfo);
return (
<div key={threadInfo.id} className={css.threadPickerOptionContainer}>
<Button
@@ -42,7 +44,7 @@
onClick={onClickThreadOption}
>
<div style={splotchColorStyle} className={css.threadSplotch} />
- <div className={css.threadNameText}>{threadInfo.uiName}</div>
+ <div className={css.threadNameText}>{uiName}</div>
</Button>
</div>
);

File Metadata

Mime Type
text/plain
Expires
Wed, Jan 14, 10:39 PM (2 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5934399
Default Alt Text
D6614.1768430353.diff (1 KB)

Event Timeline