@if (view() === 'menu') { @for (section of sections(); track $index) { @if (section.items.length) { @if ($index > 0) {
} @if (section.labelKey; as groupKey) {
{{ groupKey | translate }}
} @for (item of section.items; track item.id) { } } } } @else { }