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.new_docs_indexed}</TableCell>
<TableCell>{indexAttempt.total_docs_indexed}</TableCell> <TableCell>{indexAttempt.total_docs_indexed}</TableCell>
<TableCell> <TableCell>
<div>
<Text className="flex flex-wrap whitespace-normal"> <Text className="flex flex-wrap whitespace-normal">
<div>{indexAttempt.error_msg || "-"}</div> {indexAttempt.error_msg || "-"}
</Text>
{indexAttempt.full_exception_trace && ( {indexAttempt.full_exception_trace && (
<div <Text
onClick={() => onClick={() =>
setIndexAttemptTracePopupId(indexAttempt.id) setIndexAttemptTracePopupId(indexAttempt.id)
} }
className="mt-2 text-link cursor-pointer" className="mt-2 text-link cursor-pointer"
> >
View Full Trace View Full Trace
</div>
)}
</Text> </Text>
)}
</div>
</TableCell> </TableCell>
</TableRow> </TableRow>
); );