agregar aplicacion de prop para ocultar opciones de configuracion

This commit is contained in:
dehernandezm 2024-12-17 08:00:31 -06:00
parent b63adf97ab
commit 4fa8152357
3 changed files with 8 additions and 8 deletions

View File

@ -647,13 +647,13 @@ var PivotTableUI = function (_React$PureComponent2) {
{ onClick: function onClick() { { onClick: function onClick() {
return _this8.setState({ openDropdown: false }); return _this8.setState({ openDropdown: false });
} }, } },
_react2.default.createElement( this.props.hideConfiguration !== false && _react2.default.createElement(
'tr', 'tr',
null, null,
rendererCell, rendererCell,
unusedAttrsCell unusedAttrsCell
), ),
_react2.default.createElement( this.props.hideConfiguration !== false && _react2.default.createElement(
'tr', 'tr',
null, null,
aggregatorCell, aggregatorCell,
@ -662,7 +662,7 @@ var PivotTableUI = function (_React$PureComponent2) {
_react2.default.createElement( _react2.default.createElement(
'tr', 'tr',
null, null,
rowAttrsCell, this.props.hideConfiguration !== false && { rowAttrsCell: rowAttrsCell },
outputCell outputCell
) )
) )
@ -677,7 +677,7 @@ var PivotTableUI = function (_React$PureComponent2) {
{ onClick: function onClick() { { onClick: function onClick() {
return _this8.setState({ openDropdown: false }); return _this8.setState({ openDropdown: false });
} }, } },
_react2.default.createElement( this.props.hideConfiguration !== false && _react2.default.createElement(
'tr', 'tr',
null, null,
rendererCell, rendererCell,
@ -687,8 +687,8 @@ var PivotTableUI = function (_React$PureComponent2) {
_react2.default.createElement( _react2.default.createElement(
'tr', 'tr',
null, null,
unusedAttrsCell, this.props.hideConfiguration !== false && { unusedAttrsCell: unusedAttrsCell },
rowAttrsCell, this.props.hideConfiguration !== false && { rowAttrsCell: rowAttrsCell },
outputCell outputCell
) )
) )

File diff suppressed because one or more lines are too long

View File

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