From 4337ecc9faf93d34e1b03f4641c1f33b9c66bc13 Mon Sep 17 00:00:00 2001 From: Adam Tackett <105462877+TackAdam@users.noreply.github.com> Date: Mon, 12 Jun 2023 09:28:43 -0700 Subject: [PATCH] Merge pull request #522 from TackAdam/panelBugFix BugFix Visual update/timestamp save from Panels->LogEvents (cherry picked from commit 7a5caaa582e3c7de7ab570f248f217c5275efa7f) Signed-off-by: TackAdam --- public/components/event_analytics/explorer/explorer.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/public/components/event_analytics/explorer/explorer.tsx b/public/components/event_analytics/explorer/explorer.tsx index e29c8c47be..8541ae2e6b 100644 --- a/public/components/event_analytics/explorer/explorer.tsx +++ b/public/components/event_analytics/explorer/explorer.tsx @@ -346,7 +346,6 @@ export const Explorer = ({ }, [appBasedRef.current]); useEffect(() => { - if (queryRef.current!.isLoaded) return; let objectId; if (queryRef.current![TAB_CREATED_TYPE] === NEW_TAB || appLogEvents) { objectId = queryRef.current!.savedObjectId || ''; @@ -356,7 +355,7 @@ export const Explorer = ({ if (objectId) { updateTabData(objectId); } else { - fetchData(); + fetchData(startTime, endTime); } if ( routerContext &&