Adjust payload field to print content if bytes are printable

This commit is contained in:
Ken Hibino
2021-06-01 20:37:18 -07:00
parent b5de7e6994
commit d58d549d4c
9 changed files with 41 additions and 19 deletions

View File

@@ -288,7 +288,7 @@ function Row(props: RowProps) {
</TableCell>
<TableCell className={clsx(isLastRow && classes.noBorder)}>
<SyntaxHighlighter language="json">
{JSON.stringify(entry.task_payload)}
{entry.task_payload}
</SyntaxHighlighter>
</TableCell>
<TableCell className={clsx(isLastRow && classes.noBorder)}>