Skip to content

Commit

Permalink
fix: sidenavItem component useRouter should be false by default (#2852)
Browse files Browse the repository at this point in the history
  • Loading branch information
klaascuvelier authored Apr 8, 2024
1 parent 0837d03 commit 27e4e6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui-shell/sidenav/sidenav-item.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export class SideNavItem implements OnChanges {
/**
* Use the routerLink attribute on <a> tag for navigation instead of using event handlers
*/
@Input() useRouter = true;
@Input() useRouter = false;

@HostBinding("class.cds--side-nav__item") get sideNav() {
return !this.isSubMenu;
Expand Down

0 comments on commit 27e4e6c

Please sign in to comment.