@for (section of sections; track $index) {
@if (!section.visible$ || (section.visible$ | async)) {
@if (section.prependSeparator) {
}
@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 (section.appendSeparator) {
}
}
}