[Streams 🌊] Revert route change that breaks navigation on refresh (#211741)

## 📓 Summary

Revert a route config change introduced in [[Streams 🌊] Enrichment
simulation behaviour
improvements](https://github.com/elastic/kibana/pull/209985) that bring
always to the overview page on refresh.
This commit is contained in:
Marco Antonio Ghiani 2025-02-19 15:54:10 +01:00 committed by GitHub
parent 56c57c75b9
commit 95f4cbba80
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -34,17 +34,16 @@ const streamsAppRoutes = {
),
children: {
'/{key}': {
element: (
<RedirectTo path="/{key}/{tab}" params={{ path: { tab: 'overview' } }}>
<Outlet />
</RedirectTo>
),
element: <Outlet />,
params: t.type({
path: t.type({
key: t.string,
}),
}),
children: {
'/{key}': {
element: <RedirectTo path="/{key}/{tab}" params={{ path: { tab: 'overview' } }} />,
},
'/{key}/management': {
element: (
<RedirectTo