diff --git a/src/components/FileUpload.tsx b/src/components/FileUpload.tsx index 3ed4a91..f83a912 100644 --- a/src/components/FileUpload.tsx +++ b/src/components/FileUpload.tsx @@ -211,7 +211,15 @@ export function FileUpload() {
Stitches - {pesData.stitchCount.toLocaleString()} + {pesData.penStitches?.stitches.length.toLocaleString() || pesData.stitchCount.toLocaleString()} + {pesData.penStitches && pesData.penStitches.stitches.length !== pesData.stitchCount && ( + + ({pesData.stitchCount.toLocaleString()}) + + )}
diff --git a/src/components/PatternSummaryCard.tsx b/src/components/PatternSummaryCard.tsx index 9abc0ca..8a62357 100644 --- a/src/components/PatternSummaryCard.tsx +++ b/src/components/PatternSummaryCard.tsx @@ -55,7 +55,15 @@ export function PatternSummaryCard() {
Stitches - {pesData.stitchCount.toLocaleString()} + {pesData.penStitches?.stitches.length.toLocaleString() || pesData.stitchCount.toLocaleString()} + {pesData.penStitches && pesData.penStitches.stitches.length !== pesData.stitchCount && ( + + ({pesData.stitchCount.toLocaleString()}) + + )}