test corregir error undefined
This commit is contained in:
parent
6f4e0dcada
commit
d18996f82b
@ -384,8 +384,10 @@ function makeRenderer() {
|
||||
'tbody',
|
||||
null,
|
||||
rowKeysSub.map(function (rowKey, i) {
|
||||
var totalAggregator = pivotData.getAggregator(rowKey, []);
|
||||
var isSubTotal = rowKey.includes('[:sub-total:]');
|
||||
var totalAggregator = isSubTotal ? { value: function value() {
|
||||
return 0;
|
||||
} } : pivotData.getAggregator(rowKey, []);
|
||||
return _react2.default.createElement(
|
||||
'tr',
|
||||
{ key: 'rowKeyRow' + i },
|
||||
|
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "v-react-pivottable",
|
||||
"version": "0.11.49",
|
||||
"version": "0.11.50",
|
||||
"description": "A React-based pivot table",
|
||||
"main": "PivotTableUI.js",
|
||||
"files": [
|
||||
|
Loading…
Reference in New Issue
Block a user