Make sure that SidebarItems are also active when on sub route

This commit is contained in:
Oliver Sand
2021-02-08 19:25:09 +01:00
parent a22fc19030
commit f62e7abe54
2 changed files with 5 additions and 1 deletions
+5
View File
@@ -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}