@eric-emg/symphiq-components 1.2.546 → 1.2.547
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.
|
@@ -100954,8 +100954,8 @@ class SymphiqProfileAnalysisMetricDashboardComponent {
|
|
|
100954
100954
|
percentageIncrease = ((targetValue - currentValue) / currentValue) * 100;
|
|
100955
100955
|
}
|
|
100956
100956
|
}
|
|
100957
|
-
const funnelMetricMatch = funnelMetricsList
|
|
100958
|
-
const relatedMetricMatch = funnelMetricsList
|
|
100957
|
+
const funnelMetricMatch = funnelMetricsList?.find(fm => fm.funnelMetric === metric && fm.funnelMetric === fm.relatedMetric);
|
|
100958
|
+
const relatedMetricMatch = funnelMetricsList?.find(fm => fm.relatedMetric === metric && fm.funnelMetric !== fm.relatedMetric);
|
|
100959
100959
|
if (funnelMetricMatch) {
|
|
100960
100960
|
results.push({
|
|
100961
100961
|
metric,
|