mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-09-19 06:33:14 +08:00
fix: queries B and C coupling in a dashboard panel (#2218)
Co-authored-by: gitstart <gitstart@users.noreply.github.com>
This commit is contained in:
parent
aaeb579d0d
commit
ae37a608f8
@ -74,7 +74,6 @@ function QuerySection({
|
|||||||
setLocalQueryChanges(cloneDeep(query) as Query);
|
setLocalQueryChanges(cloneDeep(query) as Query);
|
||||||
}, [query]);
|
}, [query]);
|
||||||
|
|
||||||
|
|
||||||
const queryDiff = (
|
const queryDiff = (
|
||||||
queryA: Query,
|
queryA: Query,
|
||||||
queryB: Query,
|
queryB: Query,
|
||||||
@ -142,7 +141,7 @@ function QuerySection({
|
|||||||
const handleLocalQueryUpdate = ({
|
const handleLocalQueryUpdate = ({
|
||||||
updatedQuery,
|
updatedQuery,
|
||||||
}: IHandleUpdatedQuery): void => {
|
}: IHandleUpdatedQuery): void => {
|
||||||
setLocalQueryChanges(updatedQuery);
|
setLocalQueryChanges(cloneDeep(updatedQuery));
|
||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user