Skip to content

Commit

Permalink
Auto updates visual when changing time in panel and switching to log …
Browse files Browse the repository at this point in the history
…events bug fix

Signed-off-by: TackAdam <[email protected]>
  • Loading branch information
TackAdam committed Jun 8, 2023
1 parent bc0641e commit 15d7084
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions public/components/event_analytics/explorer/explorer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 || '';
Expand All @@ -356,7 +355,7 @@ export const Explorer = ({
if (objectId) {
updateTabData(objectId);
} else {
fetchData();
fetchData(startTime, endTime);
}
if (
routerContext &&
Expand Down

0 comments on commit 15d7084

Please sign in to comment.