فهرست منبع

Show thread title

Shun Miyazawa 1 سال پیش
والد
کامیت
161f44af04
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      apps/app/src/features/openai/client/components/AiAssistant/Sidebar/AiAssistantTree.tsx

+ 1 - 1
apps/app/src/features/openai/client/components/AiAssistant/Sidebar/AiAssistantTree.tsx

@@ -47,7 +47,7 @@ const ThreadItem: React.FC<ThreadItemProps> = ({ thread, aiAssistantData, onThre
       </div>
 
       <div className="grw-ai-assistant-title-anchor ps-1">
-        <p className="text-truncate m-auto">{thread.threadId}</p>
+        <p className="text-truncate m-auto">{thread?.title ?? 'Untitled Thread'}</p>
       </div>
 
       <div className="grw-ai-assistant-actions opacity-0 d-flex justify-content-center ">