@ammarkhalidfarooq/dashboard-package 0.6.78 → 0.6.79

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 CHANGED
@@ -18527,7 +18527,8 @@ var OrganicSection = function OrganicSection(_ref) {
18527
18527
  trend: selectedInfo.subValue,
18528
18528
  data: selectedInfo.data,
18529
18529
  categories: chartCategories,
18530
- hideControls: true
18530
+ hideControls: true,
18531
+ isAmount: selectedInfo.money
18531
18532
  };
18532
18533
  if (apiLoading) {
18533
18534
  return /*#__PURE__*/jsxRuntime.jsx(OrganicSectionSkeleton, {});
@@ -18559,7 +18560,8 @@ var OrganicSection = function OrganicSection(_ref) {
18559
18560
  type: "area",
18560
18561
  isPrimary: true,
18561
18562
  isPremium: true,
18562
- numberOfDays: numberOfDays
18563
+ numberOfDays: numberOfDays,
18564
+ metric: activeMetric === "Conversion Rate" ? "Percent" : selectedInfo.money ? "Revenue" : "Donors"
18563
18565
  }), /*#__PURE__*/jsxRuntime.jsx(material.Grid, {
18564
18566
  item: true,
18565
18567
  xs: 12,