fix: third level navigation links
This commit is contained in:
parent
dc28ece83d
commit
2bd0b55ad7
2 changed files with 6 additions and 8 deletions
|
|
@ -152,10 +152,8 @@ const getLamassuRoutes = () => [
|
|||
get component() {
|
||||
return () => (
|
||||
<Redirect
|
||||
to={{
|
||||
pathname: this.children[0].route,
|
||||
state: { prev: this.state?.prev },
|
||||
}}
|
||||
to={this.children[0].route}
|
||||
state={{ prev: this.state?.prev }}
|
||||
/>
|
||||
)
|
||||
},
|
||||
|
|
@ -245,10 +243,8 @@ const getLamassuRoutes = () => [
|
|||
get component() {
|
||||
return () => (
|
||||
<Redirect
|
||||
to={{
|
||||
pathname: this.children[0].route,
|
||||
state: { prev: this.state?.prev },
|
||||
}}
|
||||
to={this.children[0].route}
|
||||
state={{ prev: this.state?.prev }}
|
||||
/>
|
||||
)
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue