@for (section of sections; track $index) { @if (!section.visible$ || (section.visible$ | async)) { @if (section.prependSeparator) { } @if (section.headerText$) { {{ section.headerText$ | async }} } @else if (section.header) { {{ section.header | translate }} } @for (item of section.items; track item.label) { @if (!item.visible$ || (item.visible$ | async)) { @if (item.destructive) { {{ item.label | translate }} } @else { {{ item.label | translate }} @if (item.count$ | async; as count) { {{ count <= 9 ? count : '9+' }} } } } } @if (section.appendSeparator) { } } }