Skip to content

Commit

Permalink
[8.x] [Cloud Security][Bug] Fix for Page Crashing (elastic#203028) (e…
Browse files Browse the repository at this point in the history
…lastic#203139)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Cloud Security][Bug] Fix for Page Crashing
(elastic#203028)](elastic#203028)

<!--- Backport version: 8.9.8 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Rickyanto
Ang","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-12-05T14:35:42Z","message":"[Cloud
Security][Bug] Fix for Page Crashing (elastic#203028)\n\n## Summary\r\n\r\nThis
PR is for quick fix to address issue with Page crashing when
user\r\nclicks on user name or host name on preview flyout for Alerts
Contextual\r\nFlyout","sha":"06b774e78886bf914cc51a2d99497427a8c2a9e6","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Cloud
Security","backport:prev-minor","backport:version","v8.17.0"],"number":203028,"url":"https://github.com/elastic/kibana/pull/203028","mergeCommit":{"message":"[Cloud
Security][Bug] Fix for Page Crashing (elastic#203028)\n\n## Summary\r\n\r\nThis
PR is for quick fix to address issue with Page crashing when
user\r\nclicks on user name or host name on preview flyout for Alerts
Contextual\r\nFlyout","sha":"06b774e78886bf914cc51a2d99497427a8c2a9e6"}},"sourceBranch":"main","suggestedTargetBranches":["8.17"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/203028","number":203028,"mergeCommit":{"message":"[Cloud
Security][Bug] Fix for Page Crashing (elastic#203028)\n\n## Summary\r\n\r\nThis
PR is for quick fix to address issue with Page crashing when
user\r\nclicks on user name or host name on preview flyout for Alerts
Contextual\r\nFlyout","sha":"06b774e78886bf914cc51a2d99497427a8c2a9e6"}},{"branch":"8.17","label":"v8.17.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"url":"https://github.com/elastic/kibana/pull/203135","number":203135,"branch":"8.x","state":"OPEN"}]}]
BACKPORT-->
  • Loading branch information
animehart authored Dec 5, 2024
1 parent a70bdf0 commit ba5086b
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 ba5086b

Please sign in to comment.