mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-13 04:19:01 +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,
|
isViewLogsClicked?: boolean,
|
||||||
): (() => void) => (): void => {
|
): (() => void) => (): void => {
|
||||||
const currentTime = timestamp;
|
const currentTime = timestamp;
|
||||||
const tPlusOne = timestamp + 60 * 1000;
|
const tPlusOne = timestamp + 60;
|
||||||
|
|
||||||
const urlParams = new URLSearchParams(search);
|
const urlParams = new URLSearchParams(search);
|
||||||
urlParams.set(QueryParams.startTime, currentTime.toString());
|
urlParams.set(QueryParams.startTime, currentTime.toString());
|
||||||
@ -242,8 +242,8 @@ function Application(): JSX.Element {
|
|||||||
isJSON: false,
|
isJSON: false,
|
||||||
id: 'severity_text--string----true',
|
id: 'severity_text--string----true',
|
||||||
},
|
},
|
||||||
op: '=',
|
op: 'in',
|
||||||
value: 'ERROR',
|
value: ['ERROR', 'FATAL'],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user