Back to Openproject

Breadcrumbs.Component

frontend/src/app/spot/components/breadcrumbs/breadcrumbs.component.html

17.6.0421 B
Original Source

@for (crumb of content.crumbs; track crumb.text + ':' + (crumb.icon || '') + ':' + $index; let i = $index, first = $first, last = $last) { @if ((first && !last) || i === content.crumbs.length - 2 || i === content.crumbs.length - 3) {

@if (crumb.icon) { } } @if (i === 1 && content.crumbs.length > 4) {

} @if (last) { @if (crumb.icon) { } } } @switch (iconClass) { @case ('nextcloud-circle') { } @default { } }