agregar console.logs para revisar cuando se actualizan las opciones de filtros

This commit is contained in:
dehernandezm 2025-02-06 10:40:47 -06:00
parent 2daff4b9c6
commit a293bf4b00
3 changed files with 6 additions and 2 deletions

View File

@ -340,6 +340,7 @@ var PivotTableUI = function (_React$PureComponent2) {
maxZIndex: 1000,
openDropdown: false,
attrValues: {},
attrValuesReduced: {},
materializedInput: [],
hideConfiguration: false,
headerClass: '',
@ -357,6 +358,8 @@ var PivotTableUI = function (_React$PureComponent2) {
key: 'componentDidUpdate',
value: function componentDidUpdate() {
console.log(' componentDidUpdate ');
var pivotData = new _Utilities.PivotData(this.props);
console.log(' componentDidUpdate pivotData ', pivotData);
this.materializeInput(this.props.data);
}
}, {
@ -415,6 +418,7 @@ var PivotTableUI = function (_React$PureComponent2) {
});
console.log(' newState materializedInput ', newState.materializedInput);
console.log(' newState derivedAttributes ', this.props.derivedAttributes);
console.log(' newState attrValues ', newState.attrValues);
this.setState(newState);
}
}, {

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{
"name": "v-react-pivottable",
"version": "0.11.34",
"version": "0.11.35",
"description": "A React-based pivot table",
"main": "PivotTableUI.js",
"files": [