mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-12 11:49:03 +08:00
fix: onDrag is updated (#2267)
This commit is contained in:
parent
dca0b11acd
commit
2fa265ff2e
@ -77,7 +77,9 @@ function GridGraph(props: Props): JSX.Element {
|
|||||||
const startTimestamp = Math.trunc(start);
|
const startTimestamp = Math.trunc(start);
|
||||||
const endTimestamp = Math.trunc(end);
|
const endTimestamp = Math.trunc(end);
|
||||||
|
|
||||||
dispatch(UpdateTimeInterval('custom', [startTimestamp, endTimestamp]));
|
if (startTimestamp !== endTimestamp) {
|
||||||
|
dispatch(UpdateTimeInterval('custom', [startTimestamp, endTimestamp]));
|
||||||
|
}
|
||||||
},
|
},
|
||||||
[dispatch],
|
[dispatch],
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user