We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6d7b797 + ca4f768 commit ddf4e54Copy full SHA for ddf4e54
src/components/tables/CippTable.jsx
@@ -683,8 +683,7 @@ export default function CippTable({
683
})
684
return Array.isArray(exportData) && exportData.length > 0
685
? exportData.map((obj) => {
686
- const flattenedObj = flatten(obj)
687
- return applyFormatter(flattenedObj)
+ return flatten(applyFormatter(obj))
688
689
: []
690
}
@@ -695,8 +694,7 @@ export default function CippTable({
695
694
// Adjusted dataFlat processing to include formatting
696
let dataFlat = Array.isArray(data)
697
? data.map((item) => {
698
- const flattenedItem = flatten(item)
699
- return applyFormatter(flattenedItem)
+ return flatten(applyFormatter(item))
700
701
702
if (!disablePDFExport) {
0 commit comments