Fix view full trace styling

This commit is contained in:
Weves 2024-02-12 10:31:35 -08:00 committed by Chris Weaver
parent 3c2fb21c11
commit aa7c811a9a

View File

@ -111,19 +111,21 @@ export function IndexingAttemptsTable({ ccPair }: { ccPair: CCPairFullInfo }) {
<TableCell>{indexAttempt.new_docs_indexed}</TableCell>
<TableCell>{indexAttempt.total_docs_indexed}</TableCell>
<TableCell>
<Text className="flex flex-wrap whitespace-normal">
<div>{indexAttempt.error_msg || "-"}</div>
<div>
<Text className="flex flex-wrap whitespace-normal">
{indexAttempt.error_msg || "-"}
</Text>
{indexAttempt.full_exception_trace && (
<div
<Text
onClick={() =>
setIndexAttemptTracePopupId(indexAttempt.id)
}
className="mt-2 text-link cursor-pointer"
>
View Full Trace
</div>
</Text>
)}
</Text>
</div>
</TableCell>
</TableRow>
);