mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
🌊 Streams: Fix redirect bug (#203640)
As discussed here: https://github.com/elastic/kibana/pull/202372#discussion_r1875857095 There is a bug redirecting the user away from any management tab but `route`. This was happening because while loading the definition it would behave as if the stream is unmanaged. This fixes this problem.
This commit is contained in:
parent
7ca3b8e857
commit
1e29e6caff
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ export function StreamDetailManagement({
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!definition?.managed) {
|
if (definition && !definition.managed) {
|
||||||
return (
|
return (
|
||||||
<RedirectTo
|
<RedirectTo
|
||||||
path="/{key}/management/{subtab}"
|
path="/{key}/management/{subtab}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue