diff --git a/src/app/components/tabmenu/tabmenu.ts b/src/app/components/tabmenu/tabmenu.ts index 3bec2fb2bad..64c5f18e25e 100755 --- a/src/app/components/tabmenu/tabmenu.ts +++ b/src/app/components/tabmenu/tabmenu.ts @@ -128,7 +128,8 @@ export class TabMenu implements AfterContentInit,AfterViewInit,AfterViewChecked, if (item.routerLink){ const routerLink = Array.isArray(item.routerLink) ? item.routerLink : [item.routerLink]; - return this.router.isActive(this.router.createUrlTree(routerLink, {relativeTo: this.route}).toString(), false); + return this.router.isActive(this.router.createUrlTree(routerLink, {relativeTo: this.route}).toString(), + item.routerLinkActiveOptions?.exact ?? item.routerLinkActiveOptions ?? false); } return item === this.activeItem;