mirror of
https://github.com/SigNoz/signoz.git
synced 2026-03-09 06:52:18 +00:00
feat: avoid persist for non preset
This commit is contained in:
@@ -62,13 +62,6 @@ export function useZoomOut(options: UseZoomOutOptions = {}): () => void {
|
||||
urlQuery.set(QueryParams.startTime, String(newStartMs));
|
||||
urlQuery.set(QueryParams.endTime, String(newEndMs));
|
||||
urlQuery.delete(QueryParams.relativeTime);
|
||||
persistTimeDurationForRoute(
|
||||
location.pathname,
|
||||
JSON.stringify({
|
||||
startTime: newStartMs,
|
||||
endTime: newEndMs,
|
||||
}),
|
||||
);
|
||||
}
|
||||
for (const param of urlParamsToDeleteRef.current) {
|
||||
urlQuery.delete(param);
|
||||
|
||||
Reference in New Issue
Block a user