From 1dfafa4a6740ebe7a7c04cfba80ae4802622e1ca Mon Sep 17 00:00:00 2001 From: nick-delirium Date: Thu, 7 Dec 2023 16:23:56 +0100 Subject: [PATCH] fix(ui) uxt fixes --- frontend/app/components/Session/RightBlock.tsx | 2 +- frontend/app/components/Session/WebPlayer.tsx | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/frontend/app/components/Session/RightBlock.tsx b/frontend/app/components/Session/RightBlock.tsx index 93fcdd927..ed1ea1d63 100644 --- a/frontend/app/components/Session/RightBlock.tsx +++ b/frontend/app/components/Session/RightBlock.tsx @@ -17,7 +17,7 @@ function RightBlock(props: any) { ) } - if (activeTab === 'HEATMAPS') { + if (activeTab === 'CLICKMAP') { return (
diff --git a/frontend/app/components/Session/WebPlayer.tsx b/frontend/app/components/Session/WebPlayer.tsx index 0deeedd61..91fbadf82 100644 --- a/frontend/app/components/Session/WebPlayer.tsx +++ b/frontend/app/components/Session/WebPlayer.tsx @@ -113,7 +113,9 @@ function WebPlayer(props: any) { ); useEffect(() => { - setActiveTab('EVENTS') + if (uxtestingStore.isUxt()) { + setActiveTab('EVENTS') + } }, [uxtestingStore.isUxt()]) const onNoteClose = () => {