@lumeer/pivot 0.0.11 → 0.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1448,7 +1448,6 @@ function isValueDecimal(value) {
|
|
|
1448
1448
|
function createTransformationMap(headers, showSums, additionalNum, numberOfSums) {
|
|
1449
1449
|
const array = [];
|
|
1450
1450
|
iterateThroughTransformationMap(headers, additionalNum, array, 0, showSums, numberOfSums);
|
|
1451
|
-
console.log(array);
|
|
1452
1451
|
return array;
|
|
1453
1452
|
}
|
|
1454
1453
|
function iterateThroughTransformationMap(headers, additionalNum, array, level, showSums, numberOfSums) {
|
|
@@ -1769,7 +1768,7 @@ function createCellsChildIndexesMap(rowCells) {
|
|
|
1769
1768
|
}
|
|
1770
1769
|
function createRowsChildIndexesMap(rowCells) {
|
|
1771
1770
|
return (rowCells || []).reduce((map, cell, index) => {
|
|
1772
|
-
if (!cell
|
|
1771
|
+
if (!cell?.expandable) {
|
|
1773
1772
|
return map;
|
|
1774
1773
|
}
|
|
1775
1774
|
for (const childIndex of (cell?.rowIndexes || [])) {
|