mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-12 07:39:00 +08:00
fix: custom end time issue while navigating to a different page
This commit is contained in:
parent
71e24483dd
commit
bfb63ca8c4
@ -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'],
|
||||
},
|
||||
],
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user