Skip to content

Commit

Permalink
fix thread name
Browse files Browse the repository at this point in the history
  • Loading branch information
willydouhard committed Feb 20, 2024
1 parent 9ef745c commit 94ccc51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ const ThreadList = ({
textOverflow: 'ellipsis'
}}
>
{capitalize(thread.metadata?.name || 'Unknown')}
{capitalize(thread.name || 'Unknown')}
</Typography>
</Stack>
{isSelected ? (
Expand Down
1 change: 1 addition & 0 deletions libs/react-client/src/types/thread.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { IUser } from './user';
export interface IThread {
id: string;
createdAt: number | string;
name?: string;
user?: IUser;
metadata?: Record<string, any>;
steps: IStep[];
Expand Down

0 comments on commit 94ccc51

Please sign in to comment.