mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-06 18:12:54 +00:00
fix
This commit is contained in:
parent
90a3c08db8
commit
2fac2e1ef0
@ -106,7 +106,6 @@ limitations under the License. -->
|
||||
traceId: currentSpan.value?.traceId || "",
|
||||
});
|
||||
}
|
||||
// showDetail.value = true;
|
||||
}
|
||||
function traverseTree(node: Recordable, spanId: string, segmentId: string, data: Recordable) {
|
||||
if (!node || node.isBroken) {
|
||||
|
@ -157,11 +157,12 @@ export default class ListGraph {
|
||||
})
|
||||
.on("click", function (event: MouseEvent, d: Trace & { id: string }) {
|
||||
event.stopPropagation();
|
||||
const hasClass = d3.select(this).classed("highlighted");
|
||||
if (t.selectedNode) {
|
||||
t.selectedNode.classed("highlighted", false);
|
||||
d3.select("#action-box").style("display", "none");
|
||||
}
|
||||
if (t.selectedNode?.datum().id !== d.id) {
|
||||
if (!hasClass) {
|
||||
d3.select(this).classed("highlighted", true);
|
||||
d3.select("#action-box")
|
||||
.style("display", "block")
|
||||
|
Loading…
Reference in New Issue
Block a user