1
0

Replace routerLinkActive with [class.active] to ensure visibility of aria-current tag

This commit is contained in:
Alexandre Vryghem
2024-02-14 00:10:41 +01:00
parent effa19f719
commit 0366e8b934

View File

@@ -9,7 +9,7 @@
role="tab"
[routerLink]="option.routerLink"
[queryParams]="option.params"
routerLinkActive="active">{{ option.label | translate }}</a>
[class.active]="(currentOptionId$ | async) === option.id">{{ option.label | translate }}</a>
</div>
</div>