From 9a433891f29f95c7a2ef26bbefb3f688ee125ac2 Mon Sep 17 00:00:00 2001 From: Rajat Dabade Date: Fri, 13 Oct 2023 11:35:50 +0530 Subject: [PATCH] fix: the json parsing issue (#3739) --- frontend/src/container/LogDetailedView/TableView.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/container/LogDetailedView/TableView.tsx b/frontend/src/container/LogDetailedView/TableView.tsx index 17446b0118..9237136349 100644 --- a/frontend/src/container/LogDetailedView/TableView.tsx +++ b/frontend/src/container/LogDetailedView/TableView.tsx @@ -63,7 +63,7 @@ function TableView({ .map((key) => ({ key, field: key, - value: removeEscapeCharacters(JSON.stringify(flattenLogData[key])), + value: JSON.stringify(flattenLogData[key]), })); const onTraceHandler = (record: DataType) => (): void => { @@ -182,7 +182,7 @@ function TableView({ return ( - {field} + {removeEscapeCharacters(field)} ); },