Skip to content

Commit

Permalink
change back query slice
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Sebastian <[email protected]>
  • Loading branch information
paulstn committed Jan 16, 2024
1 parent 8375cc6 commit dab61f3
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ import {
SELECTED_TIMESTAMP,
} from '../../../../../common/constants/explorer';
import { initialTabId } from '../../../../framework/redux/store/shared_state';
import { coreRefs } from '../../../../framework/core_refs';
import { DEFAULT_START_TIME, QUERY_ASSIST_START_TIME } from '../../../../../common/constants/shared';

const initialQueryState = {
[RAW_QUERY]: '',
Expand All @@ -30,7 +28,7 @@ const initialQueryState = {
[PATTERN_REGEX]: PPL_DEFAULT_PATTERN_REGEX_FILETER,
[FILTERED_PATTERN]: '',
[SELECTED_TIMESTAMP]: '',
[SELECTED_DATE_RANGE]: [coreRefs.queryAssistEnabled ? QUERY_ASSIST_START_TIME : DEFAULT_START_TIME, 'now'],
[SELECTED_DATE_RANGE]: ['now-15m', 'now'],
[OLLY_QUERY_ASSISTANT]: '',
};

Expand Down

0 comments on commit dab61f3

Please sign in to comment.