@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.es.js
CHANGED
|
@@ -17683,8 +17683,8 @@ var OrganicSection = function OrganicSection(_ref) {
|
|
|
17683
17683
|
});
|
|
17684
17684
|
return {
|
|
17685
17685
|
series: sources.map(function (item) {
|
|
17686
|
-
var _item$
|
|
17687
|
-
return Number((_item$
|
|
17686
|
+
var _item$visitors3;
|
|
17687
|
+
return Number((_item$visitors3 = item.visitors) !== null && _item$visitors3 !== void 0 ? _item$visitors3 : 0);
|
|
17688
17688
|
}),
|
|
17689
17689
|
labels: sources.map(function (item) {
|
|
17690
17690
|
return item.source;
|
|
@@ -17693,10 +17693,10 @@ var OrganicSection = function OrganicSection(_ref) {
|
|
|
17693
17693
|
centerLabel: "visitors",
|
|
17694
17694
|
centerValue: formatNumber((_breakdown$totalVisit = breakdown.totalVisitors) !== null && _breakdown$totalVisit !== void 0 ? _breakdown$totalVisit : 0),
|
|
17695
17695
|
items: sources.map(function (item, index) {
|
|
17696
|
-
var _item$
|
|
17696
|
+
var _item$visitors4;
|
|
17697
17697
|
return {
|
|
17698
17698
|
label: item.source,
|
|
17699
|
-
val:
|
|
17699
|
+
val: formatNumber((_item$visitors4 = item.visitors) !== null && _item$visitors4 !== void 0 ? _item$visitors4 : 0),
|
|
17700
17700
|
color: colors[index]
|
|
17701
17701
|
};
|
|
17702
17702
|
})
|