dtable-statistic 5.0.42-alpha.28 → 5.0.42-alpha.29

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.
@@ -625,10 +625,8 @@ const updatedOneDimensionToTable = _ref5 => {
625
625
 
626
626
  // total column
627
627
  console.log('rowTotal', rowTotal);
628
- const column = columnMap[_reactIntlUniversal.default.get('Total')];
629
- console.log('column', column);
630
- updateRow[_reactIntlUniversal.default.get('Total')] = totalCellValue;
631
- oldRow[_reactIntlUniversal.default.get('Total')] = row[column.key];
628
+ updateRow[_reactIntlUniversal.default.get('Total')] = rowTotal;
629
+ oldRow[_reactIntlUniversal.default.get('Total')] = row[_reactIntlUniversal.default.get('Total')];
632
630
  if (Object.keys(updateRow).length > 0) {
633
631
  console.log(222);
634
632
  const rowId = row._id;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dtable-statistic",
3
- "version": "5.0.42-alpha.28",
3
+ "version": "5.0.42-alpha.29",
4
4
  "description": "statistics",
5
5
  "main": "dist/dtable-statistic.js",
6
6
  "author": "seafile",