mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-10-02 17:38:04 +02:00
Minor Query History Fix (#2594)
This commit is contained in:
@@ -45,8 +45,10 @@ function MessageDisplay({ message }: { message: MessageSnapshot }) {
|
|||||||
<div className="mt-2">
|
<div className="mt-2">
|
||||||
<Bold className="font-bold text-xs">Feedback</Bold>
|
<Bold className="font-bold text-xs">Feedback</Bold>
|
||||||
{message.feedback_text && <Text>{message.feedback_text}</Text>}
|
{message.feedback_text && <Text>{message.feedback_text}</Text>}
|
||||||
|
<div className="mt-1">
|
||||||
<FeedbackBadge feedback={message.feedback_type} />
|
<FeedbackBadge feedback={message.feedback_type} />
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
)}
|
)}
|
||||||
<Divider />
|
<Divider />
|
||||||
</div>
|
</div>
|
||||||
@@ -84,7 +86,8 @@ export default function QueryPage({ params }: { params: { id: string } }) {
|
|||||||
<Title>Chat Session Details</Title>
|
<Title>Chat Session Details</Title>
|
||||||
|
|
||||||
<Text className="flex flex-wrap whitespace-normal mt-1 text-xs">
|
<Text className="flex flex-wrap whitespace-normal mt-1 text-xs">
|
||||||
{chatSessionSnapshot.user_email || "-"},{" "}
|
{chatSessionSnapshot.user_email &&
|
||||||
|
`${chatSessionSnapshot.user_email}, `}
|
||||||
{timestampToReadableDate(chatSessionSnapshot.time_created)},{" "}
|
{timestampToReadableDate(chatSessionSnapshot.time_created)},{" "}
|
||||||
{chatSessionSnapshot.flow_type}
|
{chatSessionSnapshot.flow_type}
|
||||||
</Text>
|
</Text>
|
||||||
|
Reference in New Issue
Block a user