From cfb3b991c79a98cb1f9494679aaf4d3d118d895d Mon Sep 17 00:00:00 2001 From: Shekar Siri Date: Wed, 5 Jul 2023 12:30:45 +0200 Subject: [PATCH] fix(ui): bug report - missing variable --- frontend/app/components/Session_/Subheader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/app/components/Session_/Subheader.js b/frontend/app/components/Session_/Subheader.js index 5f712f4f0..2b08cc5e7 100644 --- a/frontend/app/components/Session_/Subheader.js +++ b/frontend/app/components/Session_/Subheader.js @@ -40,7 +40,7 @@ function SubHeader(props) { : currentLocation; const showReportModal = () => { - const { tabStates } = store.get(); + const { tabStates, currentTab } = store.get(); const resourceList = tabStates[currentTab]?.resourceList || []; const exceptionsList = tabStates[currentTab]?.exceptionsList || []; const eventsList = tabStates[currentTab]?.eventList || [];