fix: custom end time issue while navigating to a different page

This commit is contained in:
rahulkeswani101 2024-09-08 22:22:39 +05:30
parent 71e24483dd
commit bfb63ca8c4

View File

@ -203,7 +203,7 @@ function Application(): JSX.Element {
isViewLogsClicked?: boolean,
): (() => void) => (): void => {
const currentTime = timestamp;
const tPlusOne = timestamp + 60 * 1000;
const tPlusOne = timestamp + 60;
const urlParams = new URLSearchParams(search);
urlParams.set(QueryParams.startTime, currentTime.toString());
@ -242,8 +242,8 @@ function Application(): JSX.Element {
isJSON: false,
id: 'severity_text--string----true',
},
op: '=',
value: 'ERROR',
op: 'in',
value: ['ERROR', 'FATAL'],
},
],
});