dtable-statistic 5.0.42-alpha.13 → 5.0.42-alpha.14
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.
|
@@ -515,9 +515,6 @@ const updatedOneDimensionToTable = _ref5 => {
|
|
|
515
515
|
const groupName = isEmptyName(original_name) ? _reactIntlUniversal.default.get(_constants.EMPTY_NAME) : name;
|
|
516
516
|
const row = tableRows.find(row => row[nameColumn.key] === groupName);
|
|
517
517
|
const totalColumn = columnMap['total'];
|
|
518
|
-
console.log('updateTable', updateTable);
|
|
519
|
-
console.log('row', row);
|
|
520
|
-
console.log('totalColumn', totalColumn);
|
|
521
518
|
if (row) {
|
|
522
519
|
// update old row
|
|
523
520
|
let updateRow = {};
|
|
@@ -551,6 +548,12 @@ const updatedOneDimensionToTable = _ref5 => {
|
|
|
551
548
|
newRows.push(newRow);
|
|
552
549
|
}
|
|
553
550
|
});
|
|
551
|
+
console.log(22, {
|
|
552
|
+
newRows,
|
|
553
|
+
updatedRows,
|
|
554
|
+
rowIds,
|
|
555
|
+
oldRows
|
|
556
|
+
});
|
|
554
557
|
return {
|
|
555
558
|
newRows,
|
|
556
559
|
updatedRows,
|