quitar console log, corregir visibilidad de boton y br

This commit is contained in:
dehernandezm 2025-02-07 09:56:20 -06:00
parent 88db66c39b
commit 5bb429bfca
3 changed files with 4 additions and 7 deletions

View File

@ -138,7 +138,7 @@ var DraggableAttribute = exports.DraggableAttribute = function (_React$Component
_react2.default.createElement(
'p',
null,
stringAttr === stringAttrReduced && _react2.default.createElement(
stringAttr !== stringAttrReduced && _react2.default.createElement(
'a',
{
role: 'button',
@ -149,7 +149,7 @@ var DraggableAttribute = exports.DraggableAttribute = function (_React$Component
},
'Mostrar Todas las Opciones'
),
_react2.default.createElement('br', null),
stringAttr !== stringAttrReduced && _react2.default.createElement('br', null),
_react2.default.createElement('input', {
type: 'text',
placeholder: 'Filtrar Opciones',
@ -380,7 +380,6 @@ var PivotTableUI = function (_React$PureComponent2) {
value: function getFilterOptions() {
var showAll = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
console.log('updateFilterOptions showAll', showAll);
if (showAll) {
var _attrValuesReduced2 = JSON.parse(JSON.stringify(this.state.attrValues));
return _attrValuesReduced2;
@ -404,7 +403,6 @@ var PivotTableUI = function (_React$PureComponent2) {
}
return true;
});
console.log('updateFilterOptions filteredData', filteredData);
var _attrValuesReduced = {};
var recordsProcessed = 0;
_Utilities.PivotData.forEachRecord(filteredData, this.props.derivedAttributes, function (record) {
@ -447,7 +445,6 @@ var PivotTableUI = function (_React$PureComponent2) {
}
recordsProcessed++;
});
console.log('updateFilterOptions _attrValuesReduced', _attrValuesReduced);
return _attrValuesReduced;
}
}, {

File diff suppressed because one or more lines are too long

View File

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