@for (itemGroup of groupItems(navigationItems, preserveOtherCategoryOrder); track $index) { @let groupLabel = itemGroup[0]; @let items = itemGroup[1]; @let firstItem = items[0]; @if (groupLabel && collapsableLevel() !== firstItem.level && items.length > 1) {
- {{ groupLabel }}
} @for (item of items; track $index) {
- @let itemLabel = item.label!; @if (item.path) { @if (item.isExternal) { {{ item.label }} @if (item.children && item.level! > 1 && !item.isExpanded) { chevron_right } } @else { {{ item.label }} @if (item.children && !item.isExpanded) { chevron_right } } } @else { @if (item.level !== collapsableLevel() && item.level !== expandableLevel()) {
  {{ item.label }}
  } @if ( (item.children && item.level === expandableLevel()) || item.level === collapsableLevel() ) {
  } } @if ( item.level && displayItemsToLevel() > item.level && item.children && item.children.length > 0 ) { }
} }

@if (item.status === 'new') { New } @else if (item.status === 'updated') { Updated }