Skip to content

Commit

Permalink
Update DataitemsTable.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
ishvindersethi22 authored Feb 28, 2024
1 parent a1d7a79 commit d4427fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/pages/component/common/DataitemsTable.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ useEffect(() => {
align: "center",
customHeadLabelRender: customColumnHead,
customBodyRender: (value) => {
if ((key == "metadata_json" || key == "prediction_json"|| key == "ocr_prediction_json"|| key == "transcribed_json"|| key == "draft_data_json" || key == "ocr_transcribed_json") && value !== null ) {
if ((key == "metadata_json" || key == "prediction_json"|| key == "ocr_prediction_json"|| key == "transcribed_json"|| key == "draft_data_json" || key == "ocr_transcribed_json" || key == "bboxes_relation_json") && value !== null ) {
const data = JSON.stringify(value)
const metadata = data.replace(/\\/g, "");
return metadata;
Expand Down

0 comments on commit d4427fd

Please sign in to comment.