@ammarkhalidfarooq/dashboard-package 0.6.29 → 0.6.30
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.cjs.js +4 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +4 -4
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -17685,8 +17685,8 @@ var OrganicSection = function OrganicSection(_ref) {
|
|
|
17685
17685
|
});
|
|
17686
17686
|
return {
|
|
17687
17687
|
series: sources.map(function (item) {
|
|
17688
|
-
var _item$
|
|
17689
|
-
return Number((_item$
|
|
17688
|
+
var _item$visitors3;
|
|
17689
|
+
return Number((_item$visitors3 = item.visitors) !== null && _item$visitors3 !== void 0 ? _item$visitors3 : 0);
|
|
17690
17690
|
}),
|
|
17691
17691
|
labels: sources.map(function (item) {
|
|
17692
17692
|
return item.source;
|
|
@@ -17695,10 +17695,10 @@ var OrganicSection = function OrganicSection(_ref) {
|
|
|
17695
17695
|
centerLabel: "visitors",
|
|
17696
17696
|
centerValue: formatNumber((_breakdown$totalVisit = breakdown.totalVisitors) !== null && _breakdown$totalVisit !== void 0 ? _breakdown$totalVisit : 0),
|
|
17697
17697
|
items: sources.map(function (item, index) {
|
|
17698
|
-
var _item$
|
|
17698
|
+
var _item$visitors4;
|
|
17699
17699
|
return {
|
|
17700
17700
|
label: item.source,
|
|
17701
|
-
val:
|
|
17701
|
+
val: formatNumber((_item$visitors4 = item.visitors) !== null && _item$visitors4 !== void 0 ? _item$visitors4 : 0),
|
|
17702
17702
|
color: colors[index]
|
|
17703
17703
|
};
|
|
17704
17704
|
})
|