Skip to content

Commit e13f0c6

Browse files
authored
Closes #63109 for Service Map by resetting edges styles for the selected node (#63655) (#63661)
1 parent f98928c commit e13f0c6

File tree

1 file changed

+3
-1
lines changed
  • x-pack/legacy/plugins/apm/public/components/app/ServiceMap

1 file changed

+3
-1
lines changed

x-pack/legacy/plugins/apm/public/components/app/ServiceMap/Cytoscape.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,9 @@ export function Cytoscape({
211211
resetConnectedEdgeStyle(event.target);
212212
};
213213
const unselectHandler: cytoscape.EventHandler = event => {
214-
resetConnectedEdgeStyle();
214+
resetConnectedEdgeStyle(
215+
serviceName ? event.cy.getElementById(serviceName) : undefined
216+
);
215217
};
216218
const debugHandler: cytoscape.EventHandler = event => {
217219
const debugEnabled = sessionStorage.getItem('apm_debug') === 'true';

0 commit comments

Comments
 (0)