mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-07-20 14:57:35 +00:00
fix topn metircs
This commit is contained in:
parent
a78d8ea2d4
commit
88c996aa9d
@ -57,7 +57,7 @@ export function useQueryProcessor(config: any) {
|
|||||||
variables.push(`$condition${index}: TopNCondition!`);
|
variables.push(`$condition${index}: TopNCondition!`);
|
||||||
conditions[`condition${index}`] = {
|
conditions[`condition${index}`] = {
|
||||||
name,
|
name,
|
||||||
parentService: ["Service", "All"].includes(dashboardStore.entity)
|
parentService: ["All"].includes(dashboardStore.entity)
|
||||||
? null
|
? null
|
||||||
: selectorStore.currentService.value,
|
: selectorStore.currentService.value,
|
||||||
normal: selectorStore.currentService.normal,
|
normal: selectorStore.currentService.normal,
|
||||||
|
@ -213,7 +213,7 @@ function handleNodeClick(d: Node & { x: number; y: number }) {
|
|||||||
topologyStore.setNode(d);
|
topologyStore.setNode(d);
|
||||||
topologyStore.setLink(null);
|
topologyStore.setLink(null);
|
||||||
operationsPos.x = d.x;
|
operationsPos.x = d.x;
|
||||||
operationsPos.y = d.y + 30;
|
operationsPos.y = d.y - 60;
|
||||||
if (d.layer === String(dashboardStore.layerId)) {
|
if (d.layer === String(dashboardStore.layerId)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user