dtable-statistic 5.0.42-alpha.11 → 5.0.42-alpha.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.
@@ -516,6 +516,7 @@ const updatedOneDimensionToTable = _ref5 => {
516
516
  const totalColumn = columnMap['total'];
517
517
  console.log('updateTable', updateTable);
518
518
  console.log('row', row);
519
+ console.log('totalColumn', totalColumn);
519
520
  if (row) {
520
521
  // update old row
521
522
  let updateRow = {};
@@ -525,10 +526,10 @@ const updatedOneDimensionToTable = _ref5 => {
525
526
  updateRow[totalColumn.key] = validTotalCellValue;
526
527
  oldRow[totalColumn.key] = row[totalColumn.key];
527
528
  }
528
- if (totalColumn && (0, _cellValue.isCellValueChanged)(row[totalColumn.key], validTotalCellValue, totalColumn.type)) {
529
- updateRow[totalColumn.key] = validTotalCellValue;
530
- oldRow[totalColumn.key] = row[totalColumn.key];
531
- }
529
+ // if (totalColumn && isCellValueChanged(row[totalColumn.key], validTotalCellValue, totalColumn.type)) {
530
+ // updateRow[totalColumn.key] = validTotalCellValue;
531
+ // oldRow[totalColumn.key] = row[totalColumn.key];
532
+ // }
532
533
  if (Object.keys(updateRow).length > 0) {
533
534
  const rowId = row._id;
534
535
  rowIds.push(rowId);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dtable-statistic",
3
- "version": "5.0.42-alpha.11",
3
+ "version": "5.0.42-alpha.12",
4
4
  "description": "statistics",
5
5
  "main": "dist/dtable-statistic.js",
6
6
  "author": "seafile",