ui: fix in-session clickmap refresh
This commit is contained in:
parent
05f4054b31
commit
0107c9c523
2 changed files with 3 additions and 4 deletions
|
|
@ -5,9 +5,6 @@ import PageInsightsPanel from '../Session_/PageInsightsPanel/PageInsightsPanel';
|
|||
import UnitStepsModal from "../Session_/UnitStepsModal";
|
||||
import TagWatch from 'Components/Session/Player/TagWatch';
|
||||
import cn from 'classnames';
|
||||
import EventsBlock from '../Session_/EventsBlock';
|
||||
import HighlightPanel from '../Session_/Highlight/HighlightPanel';
|
||||
import PageInsightsPanel from '../Session_/PageInsightsPanel/PageInsightsPanel';
|
||||
|
||||
import stl from './rightblock.module.css';
|
||||
|
||||
|
|
|
|||
|
|
@ -67,10 +67,12 @@ function PageInsightsPanel({ setActiveTab }: Props) {
|
|||
});
|
||||
}
|
||||
prevInsights.current = insightsFilters;
|
||||
return () => {
|
||||
prevInsights.current = undefined;
|
||||
}
|
||||
}, [insightsFilters]);
|
||||
|
||||
const onPageSelect = ({ value }: any) => {
|
||||
const { t } = useTranslation();
|
||||
const event = events.find((item) => item.url === value.value);
|
||||
Player.jump(event.timestamp - startTs + JUMP_OFFSET);
|
||||
Player.pause();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue