Skip to content

Commit

Permalink
remove defaulting to query assist time range
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Li <[email protected]>
  • Loading branch information
joshuali925 committed May 1, 2024
1 parent f67d4cc commit 8453775
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions public/components/event_analytics/explorer/log_explorer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,7 @@ export const LogExplorer = ({
});
};

const dateRange = coreRefs.queryAssistEnabled
? [QUERY_ASSIST_START_TIME, QUERY_ASSIST_END_TIME]
: getDateRange(undefined, undefined, queries[tabIds[0]]);
const dateRange = getDateRange(undefined, undefined, queries[tabIds[0]]);
const [startTime, setStartTime] = useState(dateRange[0]);
const [endTime, setEndTime] = useState(dateRange[1]);

Expand Down

0 comments on commit 8453775

Please sign in to comment.