Commit b7d8645
[Security Solution][Endpoint] Fixes kibana crash when going back to policy details page (#164329)
Fixes: #164295
Fixes: #164190
## Summary
There was a Kibana crash when using back link buttons to go back to the
policy details page from Trusted Apps / Event Filters / Host Isolation
exceptions / Blocklists page. Route state can be null depending on the
previous action so it has to be conditional.
The error occurs when it tries to access the `backLink` prop on
`routeState` when it's not defined.
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit fb79e3e)1 parent 5e65000 commit b7d8645
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
0 commit comments