Skip to content

Commit 27e4e6c

Browse files
fix: sidenavItem component useRouter should be false by default (#2852)
1 parent 0837d03 commit 27e4e6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ui-shell/sidenav/sidenav-item.component.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export class SideNavItem implements OnChanges {
7474
/**
7575
* Use the routerLink attribute on <a> tag for navigation instead of using event handlers
7676
*/
77-
@Input() useRouter = true;
77+
@Input() useRouter = false;
7878

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

0 commit comments

Comments
 (0)