nuxeo-development-framework 5.1.3 → 5.1.4

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.
@@ -36151,7 +36151,7 @@
36151
36151
  return;
36152
36152
  }
36153
36153
  var color = options.color, lineWidth = options.lineWidth, radiusDecrease = options.radiusDecrease, backgroundColor = options.backgroundColor, text = options.text, fontColor = options.fontColor, showMessage = options.showMessage, font = options.font;
36154
- var hasData = datasets.some(function (set) { return !!set.data.length; });
36154
+ var hasData = datasets.some(function (set) { return !!__spreadArray([], __read(set.data)).filter(Boolean).length; });
36155
36155
  if (!hasData) {
36156
36156
  var _a = chart.chartArea, left = _a.left, top = _a.top, right = _a.right, bottom = _a.bottom, ctx = chart.ctx;
36157
36157
  var centerX = (left + right) / 2;
@@ -36174,7 +36174,7 @@
36174
36174
  }
36175
36175
  ctx.restore();
36176
36176
  }
36177
- },
36177
+ }
36178
36178
  };
36179
36179
 
36180
36180
  var legendMargin = {