Skip to content

Commit 824c571

Browse files
authored
ECHO-677 conversation header empty if name removed and title exists fix (#460)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Improved participant information display with fallback to title when participant name is unavailable in project conversations. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 3bca780 commit 824c571

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

echo/frontend/src/components/layout/ProjectConversationLayout.tsx

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,20 @@ export const ProjectConversationLayout = () => {
1717
},
1818
},
1919
fields: [
20-
"id",
2120
"participant_name",
21+
"title",
2222
"duration",
23-
"is_finished",
24-
"is_audio_processing_finished",
25-
"created_at",
26-
"updated_at",
27-
{ chunks: ["source", "transcript"] },
23+
"source",
24+
{ chunks: ["source"] },
2825
],
2926
},
3027
});
3128

3229
return (
3330
<Stack className="relative px-2 py-4">
3431
<Title order={1}>
35-
{conversationQuery.data?.participant_name ?? "Conversation"}
32+
{conversationQuery.data?.participant_name ||
33+
conversationQuery.data?.title}
3634
</Title>
3735
{conversationQuery.data && (
3836
<ConversationStatusIndicators

0 commit comments

Comments
 (0)