Make sure that SidebarItems are also active when on sub route
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/core': patch
|
||||
---
|
||||
|
||||
Make sure that SidebarItems are also active when on sub route.
|
||||
@@ -215,7 +215,6 @@ export const SidebarItem = forwardRef<any, SidebarItemProps>((props, ref) => {
|
||||
{...childProps}
|
||||
activeClassName={classes.selected}
|
||||
to={props.to}
|
||||
end
|
||||
ref={ref}
|
||||
>
|
||||
{content}
|
||||
|
||||
Reference in New Issue
Block a user