Skip to content

Commit

Permalink
[APM] Fix service map highlighted edge on node select (#80791) (#81088)
Browse files Browse the repository at this point in the history
* Closes #80633 by passing a reference to the core cytoscape options to correctly reset all edges in the map

* removed commented out debugger statement
  • Loading branch information
ogupte authored Oct 20, 2020
1 parent 26ea9f5 commit 0360097
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ export function useCytoscapeEventHandlers({
};
const selectHandler: cytoscape.EventHandler = (event) => {
trackApmEvent({ metric: 'service_map_node_select' });
resetConnectedEdgeStyle(event.target);
resetConnectedEdgeStyle(event.cy, event.target);
};
const unselectHandler: cytoscape.EventHandler = (event) => {
resetConnectedEdgeStyle(
Expand Down

0 comments on commit 0360097

Please sign in to comment.