Merge pull request #4427 from SDA-SE/feat/sidebar-active

Make sure that SidebarItems are also active when on sub route
This commit is contained in:
Oliver Sand
2021-02-11 13:55:17 +01:00
committed by GitHub
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}