dtable-statistic 5.0.42-alpha.23 → 5.0.42-alpha.25

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.
@@ -208,14 +208,14 @@ const exportOneDimensionToTable = _ref => {
208
208
 
209
209
  // total column
210
210
  const totalColumn = {
211
- type: _isDateSummaryColumn ? _dtableUtils.CellType.DATE : _dtableUtils.CellType.NUMBER,
211
+ type: _dtableUtils.CellType.NUMBER,
212
212
  name: _reactIntlUniversal.default.get('Total'),
213
213
  // data: columnData,
214
214
  data: {
215
215
  format: 'number'
216
216
  }
217
217
  };
218
- columnMap[key] = totalColumn;
218
+ columnMap['key'] = totalColumn;
219
219
  columns.push(totalColumn);
220
220
 
221
221
  // generator rows
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dtable-statistic",
3
- "version": "5.0.42-alpha.23",
3
+ "version": "5.0.42-alpha.25",
4
4
  "description": "statistics",
5
5
  "main": "dist/dtable-statistic.js",
6
6
  "author": "seafile",