@for (item of items(); track item.label; let last = $last) {
  1. @if (item.link && !last) { {{ item.label }} } @if (!item.link || last) { {{ item.label }} } @if (!last) { chevron_right }
  2. }