logitude-dashboard-library 3.2.17 → 3.2.18

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 CHANGED
@@ -835,7 +835,7 @@ var KpiChart = function KpiChart(props) {
835
835
  if (widget !== null && widget !== void 0 && (_widget$current3 = widget.current) !== null && _widget$current3 !== void 0 && _widget$current3.WidgetMeasures) measureFieldId = widget === null || widget === void 0 ? void 0 : (_widget$current4 = widget.current) === null || _widget$current4 === void 0 ? void 0 : (_widget$current4$Widg = _widget$current4.WidgetMeasures[0]) === null || _widget$current4$Widg === void 0 ? void 0 : _widget$current4$Widg.MeasureFieldId;
836
836
  props.customChartProps.onSelectDataPoint({
837
837
  MeasureFieldId: measureFieldId,
838
- Widget: widget.current,
838
+ Widget: calculateWidgetKPISettingsDates(),
839
839
  MeasureCode: currentWidgetMeasure.MeasureCode,
840
840
  Formula: currentWidgetMeasure.Formula,
841
841
  GroupById: data === null || data === void 0 ? void 0 : data.GroupById