logitude-dashboard-library 3.1.64 → 3.1.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +12 -6
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +12 -6
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1633,15 +1633,21 @@ var PivotTable = React.forwardRef(function (props, comRef) {
|
|
|
1633
1633
|
var pivotFields = [];
|
|
1634
1634
|
e.columnFields.forEach(function (c, index) {
|
|
1635
1635
|
var fieldValue = e.cell.columnPath[index];
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1636
|
+
|
|
1637
|
+
if (fieldValue !== undefined) {
|
|
1638
|
+
pivotFields.push(_extends({}, c.fieldData, {
|
|
1639
|
+
FieldValue: fieldValue
|
|
1640
|
+
}));
|
|
1641
|
+
}
|
|
1639
1642
|
});
|
|
1640
1643
|
e.rowFields.forEach(function (r, index) {
|
|
1641
1644
|
var fieldValue = e.cell.rowPath[index];
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
+
|
|
1646
|
+
if (fieldValue !== undefined) {
|
|
1647
|
+
pivotFields.push(_extends({}, r.fieldData, {
|
|
1648
|
+
FieldValue: fieldValue
|
|
1649
|
+
}));
|
|
1650
|
+
}
|
|
1645
1651
|
});
|
|
1646
1652
|
props.customChartProps.onSelectDataPoint({
|
|
1647
1653
|
MeasureFieldId: '',
|