Skip to content

Commit

Permalink
after code review
Browse files Browse the repository at this point in the history
  • Loading branch information
andreighervan7 committed Jan 23, 2025
1 parent 1b1b715 commit 2bece85
Showing 1 changed file with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
<nav
[attr.aria-label]="'common.breadcrumbs' | cxTranslate"
tabindex="-1"
*ngIf="crumbs$ | async as crumbList"
>
<nav [attr.aria-label]="'common.breadcrumbs' | cxTranslate" tabindex="-1">
<ol [attr.aria-label]="'common.breadcrumbs' | cxTranslate">
<li *ngFor="let crumb of crumbList; let i = index; let last = last">
<li *ngFor="let crumb of crumbs$ | async; let i = index; let last = last">
<a
[routerLink]="crumb.link"
[innerHTML]="crumb.label"
Expand All @@ -15,11 +11,11 @@
crumb.label +
(i + 1) +
('common.of' | cxTranslate) +
crumbList.length
(crumbs$ | async)?.length
: crumb.label +
(i + 1) +
('common.of' | cxTranslate) +
crumbList.length
(crumbs$ | async)?.length
"
></a>
</li>
Expand Down

0 comments on commit 2bece85

Please sign in to comment.