Skip to content

Commit

Permalink
Closes #63109 for Service Map by resetting edges styles for the selec…
Browse files Browse the repository at this point in the history
…ted node
  • Loading branch information
ogupte committed Apr 16, 2020
1 parent 3d41ca6 commit eeccecf
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,9 @@ export function Cytoscape({
resetConnectedEdgeStyle(event.target);
};
const unselectHandler: cytoscape.EventHandler = event => {
resetConnectedEdgeStyle();
resetConnectedEdgeStyle(
serviceName ? event.cy.getElementById(serviceName) : undefined
);
};
const debugHandler: cytoscape.EventHandler = event => {
const debugEnabled = sessionStorage.getItem('apm_debug') === 'true';
Expand Down

0 comments on commit eeccecf

Please sign in to comment.