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.
- package/bundles/nuxeo-development-framework.umd.js +2 -2
- package/bundles/nuxeo-development-framework.umd.js.map +1 -1
- package/esm2015/lib/components/charts/plugins/doughnut-empty-state.js +5 -5
- package/esm2015/lib/components/skeleton/skeleton.component.js +1 -1
- package/fesm2015/nuxeo-development-framework.js +4 -4
- package/fesm2015/nuxeo-development-framework.js.map +1 -1
- package/lib/components/skeleton/skeleton.component.d.ts +1 -1
- package/package.json +1 -1
|
@@ -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 = {
|