diff --git a/frontend/app/components/Dashboard/Widgets/CustomMetricsWidgets/ClickMapCard/ClickMapCard.tsx b/frontend/app/components/Dashboard/Widgets/CustomMetricsWidgets/ClickMapCard/ClickMapCard.tsx index cc56befd0..551931ed6 100644 --- a/frontend/app/components/Dashboard/Widgets/CustomMetricsWidgets/ClickMapCard/ClickMapCard.tsx +++ b/frontend/app/components/Dashboard/Widgets/CustomMetricsWidgets/ClickMapCard/ClickMapCard.tsx @@ -19,6 +19,7 @@ function ClickMapCard({ const sessionId = metricStore.instance.data.sessionId const url = metricStore.instance.data.path; + const operator = metricStore.instance.series[0].filter.filters[0].operator React.useEffect(() => { return () => setCustomSession(null) @@ -37,8 +38,16 @@ function ClickMapCard({ const rangeValue = dashboardStore.drillDownPeriod.rangeValue const startDate = dashboardStore.drillDownPeriod.start const endDate = dashboardStore.drillDownPeriod.end - fetchInsights({ ...insightsFilters, url, startDate, endDate, rangeValue, clickRage: metricStore.clickMapFilter }) - }, [dashboardStore.drillDownPeriod.start, url, dashboardStore.drillDownPeriod.end, dashboardStore.drillDownPeriod.rangeValue, metricStore.clickMapFilter]) + fetchInsights({ + ...insightsFilters, + url, + startDate, + endDate, + rangeValue, + clickRage: metricStore.clickMapFilter, + operator, + }) + }, [dashboardStore.drillDownPeriod.start, operator, url, dashboardStore.drillDownPeriod.end, dashboardStore.drillDownPeriod.rangeValue, metricStore.clickMapFilter]) if (!metricStore.instance.data.domURL || insights.size === 0) { return (