Skip to content

Commit

Permalink
fix: CXSPA-9076 ACC 264.1 (Level A): Product Configuration _ Link _ I…
Browse files Browse the repository at this point in the history
…tem count not read (#19912)
  • Loading branch information
andreighervan7 authored Jan 23, 2025
1 parent 910d6c8 commit 165ad48
Showing 1 changed file with 15 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,27 @@
<nav [attr.aria-label]="'common.breadcrumbs' | cxTranslate" tabindex="-1">
<ol [attr.aria-label]="'common.breadcrumbs' | cxTranslate">
<li *ngFor="let crumb of crumbs$ | async; let last = last">
<li
*ngFor="
let crumb of crumbs$ | async as crumbList;
let i = index;
let last = last
"
>
<a
[routerLink]="crumb.link"
[innerHTML]="crumb.label"
[attr.aria-label]="
last
? ('common.breadcrumbsCurrentPage' | cxTranslate) +
' ' +
crumb.label
: crumb.label
crumb.label +
(i + 1) +
('common.of' | cxTranslate) +
crumbList.length
: crumb.label +
(i + 1) +
('common.of' | cxTranslate) +
crumbList.length
"
></a>
</li>
Expand Down

0 comments on commit 165ad48

Please sign in to comment.