ui-kit-ck-consultant 0.5.169 → 0.5.170

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
@@ -2316,7 +2316,7 @@ var PieChart = /*#__PURE__*/function (_React$Component) {
2316
2316
  },
2317
2317
  tooltips: {
2318
2318
  callbacks: {
2319
- label: function label(tooltipItem, data) {
2319
+ label: this.props.label ? this.props.label : function (tooltipItem, data) {
2320
2320
  var name = _this.props.name ? _this.props.name : data.labels[tooltipItem.index] || '';
2321
2321
  var digits = _this.props.digits >= 0 ? _this.props.digits : 2;
2322
2322