@levi-gemcommerce/analytics 1.0.0-dev.28 → 1.0.0-dev.29

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/esm/index.js CHANGED
@@ -3550,7 +3550,7 @@ const usePathAnalysisChart = () => {
3550
3550
  return [
3551
3551
  {
3552
3552
  value: Number(totalAddedToCart ?? 0),
3553
- key: METRICS_COLUMNS[IPAMetricKey.PAGE_ADDED_TO_CART].label,
3553
+ key: METRICS_COLUMNS[IPAMetricKey.PAGE_ADDED_TO_CART]?.label ?? t('Added to cart'),
3554
3554
  labelTooltip: PA_METRIC_TOOLTIP[IPAMetricKey.PAGE_CART_ADDITION],
3555
3555
  },
3556
3556
  {
@@ -3550,7 +3550,7 @@ const usePathAnalysisChart = () => {
3550
3550
  return [
3551
3551
  {
3552
3552
  value: Number(totalAddedToCart ?? 0),
3553
- key: METRICS_COLUMNS[IPAMetricKey.PAGE_ADDED_TO_CART].label,
3553
+ key: METRICS_COLUMNS[IPAMetricKey.PAGE_ADDED_TO_CART]?.label ?? t('Added to cart'),
3554
3554
  labelTooltip: PA_METRIC_TOOLTIP[IPAMetricKey.PAGE_CART_ADDITION],
3555
3555
  },
3556
3556
  {