fix (frontend-heatmaps): pause player on heatmaps request
This commit is contained in:
parent
16a2a55e50
commit
33809c869c
1 changed files with 2 additions and 1 deletions
|
|
@ -33,7 +33,8 @@ function PageInsightsPanel({ filters, fetchInsights, events = [], insights, urlO
|
|||
}, [insights])
|
||||
|
||||
useEffect(() => {
|
||||
const url = insightsFilters.url ? insightsFilters.url : urlOptions[0].value
|
||||
const url = insightsFilters.url ? insightsFilters.url : urlOptions[0].value;
|
||||
Player.pause();
|
||||
fetchInsights({ ...insightsFilters, url })
|
||||
}, [insightsFilters])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue