Skip to content

Commit

Permalink
update ui
Browse files Browse the repository at this point in the history
  • Loading branch information
634750802 committed Oct 29, 2024
1 parent 2136e1c commit c4adbb9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/app/src/api/feedbacks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export interface Feedback {
updated_at: Date;
user_id: string | null;
chat_title: string;
chat_origin?: string | null;
chat_message_content: string;
user_email: string | null;
}
Expand All @@ -32,6 +33,7 @@ const feedbackSchema = z.object({
user_id: z.string().nullable(),
user_email: z.string().nullable(),
chat_title: z.string(),
chat_origin: z.string().nullable(),
chat_message_content: z.string(),
}) satisfies ZodType<Feedback, any, any>;

Expand Down
1 change: 1 addition & 0 deletions frontend/app/src/components/feedbacks/feedbacks-table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ const columns = [
}
},
}),
helper.accessor('chat_origin', { cell: mono }),
helper.display({
id: 'chat',
header: 'question',
Expand Down

0 comments on commit c4adbb9

Please sign in to comment.