Skip to content

Commit be64247

Browse files
committed
added comment
1 parent a6ba12b commit be64247

File tree

1 file changed

+3
-0
lines changed
  • x-pack/plugins/security_solution/public/resolver/view

1 file changed

+3
-0
lines changed

x-pack/plugins/security_solution/public/resolver/view/map.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ export const ResolverMap = React.memo(function ({
7979
});
8080

8181
useEffect(() => {
82+
// When you refresh the page after selecting a process in the table view (not the timeline view)
83+
// The old crumbId still exists in the query string even though a resolver is no longer visible
84+
// This just makes sure the activeDescendant and crumbId are in sync on load for that view as well as the timeline
8285
if (activeDescendantId && crumbId !== activeDescendantId) {
8386
pushToQueryParams({ crumbId: activeDescendantId, crumbEvent: '' });
8487
}

0 commit comments

Comments
 (0)