Skip to content

Commit

Permalink
[Cloud Security][Bug] Fix for Page Crashing (#203028)
Browse files Browse the repository at this point in the history
## Summary

This PR is for quick fix to address issue with Page crashing when user
clicks on user name or host name on preview flyout for Alerts Contextual
Flyout

(cherry picked from commit 06b774e)
  • Loading branch information
animehart committed Dec 5, 2024
1 parent c9e60df commit 2605e47
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export const AlertsPreview = ({
const { goToEntityInsightTab } = useNavigateEntityInsight({
field,
value,
queryIdExtension: 'ALERTS_PREVIEW',
queryIdExtension: isPreviewMode ? 'ALERTS_PREVIEW_TRUE' : 'ALERTS_PREVIEW_FALSE',
subTab: CspInsightLeftPanelSubTab.ALERTS,
});
const link = useMemo(
Expand Down

0 comments on commit 2605e47

Please sign in to comment.