test, actualizar opciones al actualizar componente

This commit is contained in:
dehernandezm 2025-02-07 06:58:54 -06:00
parent e6b3f29bfa
commit 50f85273d5
3 changed files with 3 additions and 14 deletions

View File

@ -141,18 +141,6 @@ var DraggableAttribute = exports.DraggableAttribute = function (_React$Component
},
'Mostrar Todas las Opciones'
),
' ',
_react2.default.createElement(
'a',
{
role: 'button',
className: 'pvtButton',
onClick: function onClick() {
_this2.props.updateFilterOptions();
}
},
'Mostrar Opciones en Tabla'
),
_react2.default.createElement('br', null),
_react2.default.createElement('input', {
type: 'text',
@ -458,6 +446,7 @@ var PivotTableUI = function (_React$PureComponent2) {
}, {
key: 'componentDidUpdate',
value: function componentDidUpdate() {
this.updateFilterOptions();
this.materializeInput(this.props.data);
}
}, {

File diff suppressed because one or more lines are too long

View File

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