mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-12 18:39:04 +08:00
fixes zoom issue
This commit is contained in:
parent
9ac2dece11
commit
705279b6fd
@ -69,7 +69,7 @@ const ServiceMap = (props: ServiceMapProps) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const zoomToService = (value: string) => {
|
const zoomToService = (value: string) => {
|
||||||
fgRef && fgRef.current.zoomToFit(700, 280, (e) => e.id === value);
|
fgRef && fgRef.current.zoomToFit(700, 390, (e) => e.id === value);
|
||||||
};
|
};
|
||||||
|
|
||||||
const { nodes, links } = getGraphData(serviceMap);
|
const { nodes, links } = getGraphData(serviceMap);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user