diff --git a/lib/content-services/src/lib/breadcrumb/breadcrumb.component.html b/lib/content-services/src/lib/breadcrumb/breadcrumb.component.html index c3cdd9bc15..1f51708b2c 100644 --- a/lib/content-services/src/lib/breadcrumb/breadcrumb.component.html +++ b/lib/content-services/src/lib/breadcrumb/breadcrumb.component.html @@ -41,27 +41,24 @@ [class.adf-active]="last" title="{{ item.name ?? '' | translate }}" class="adf-breadcrumb-item"> - @switch (breadcrumbItemIsAnchor(last)) { - @case (true) { - - {{ item.name ?? '' | translate }} - - } - @default { -
- {{ (selectedRowItemsCount < 1 ? item.name ?? '' : 'BREADCRUMB.HEADER.SELECTED') | translate: { count: selectedRowItemsCount } }} -
- } - } + @if (breadcrumbItemIsAnchor(last)) { + + {{ item.name ?? '' | translate }} + + } @else { +
+ {{ (selectedRowItemsCount < 1 ? item.name ?? '' : 'BREADCRUMB.HEADER.SELECTED') | translate: { count: selectedRowItemsCount } }} +
+ } - @if (!last) { - - } + @if (!last) { + + } }