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
  • Loading branch information
animehart authored Dec 5, 2024
1 parent 5061174 commit 06b774e
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 06b774e

Please sign in to comment.