Skip to content

Commit

Permalink
🌊 Streams: Fix redirect bug (elastic#203640)
Browse files Browse the repository at this point in the history
As discussed here:
elastic#202372 (comment)

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.
  • Loading branch information
flash1293 authored Dec 10, 2024
1 parent 7ca3b8e commit 1e29e6c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export function StreamDetailManagement({
);
}

if (!definition?.managed) {
if (definition && !definition.managed) {
return (
<RedirectTo
path="/{key}/management/{subtab}"
Expand Down

0 comments on commit 1e29e6c

Please sign in to comment.