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 || [];