From aeebe92941e6c67df0ead1cffdb955bf5ddbf9b7 Mon Sep 17 00:00:00 2001 From: LiamEdwardsLamarche Date: Wed, 7 Aug 2024 15:53:52 +0100 Subject: [PATCH 1/2] table wrap bug fix --- src/report/ReportRecordProcessing.tsx | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/src/report/ReportRecordProcessing.tsx b/src/report/ReportRecordProcessing.tsx index 15159b911..311903056 100644 --- a/src/report/ReportRecordProcessing.tsx +++ b/src/report/ReportRecordProcessing.tsx @@ -269,16 +269,17 @@ function RenderArray(value, transposedTable = false) { mapped = value.map((v, i) => { return RenderSubValue(v) + (i < value.length - 1 ? ', ' : ''); }); - } - // Render Node and Relationship objects, which will look like a Path - mapped = value.map((v, i) => { - return ( - - {RenderSubValue(v)} - {i < value.length - 1 && !valueIsNode(v) && !valueIsRelationship(v) ? , : <>} - - ); - }); + } else { + // Render Node and Relationship objects, which will look like a Path + mapped = value.map((v, i) => { + return ( + + {RenderSubValue(v)} + {i < value.length - 1 && !valueIsNode(v) && !valueIsRelationship(v) ? , : <>} + + ); + }); + }; return mapped; } From 4e1b674b860d85d7e9d8631d1a935a1f8173a57c Mon Sep 17 00:00:00 2001 From: LiamEdwardsLamarche Date: Mon, 19 Aug 2024 15:01:20 +0100 Subject: [PATCH 2/2] typo fix --- src/report/ReportRecordProcessing.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/report/ReportRecordProcessing.tsx b/src/report/ReportRecordProcessing.tsx index 311903056..cae643d1e 100644 --- a/src/report/ReportRecordProcessing.tsx +++ b/src/report/ReportRecordProcessing.tsx @@ -279,7 +279,7 @@ function RenderArray(value, transposedTable = false) { ); }); - }; + } return mapped; }