@for (item of navigation; track trackByFn($index, item)) { @if ((item.hidden && !item.hidden(item)) || !item.hidden) { @if (item.type === 'aside') { } @if (item.type === 'basic') { } @if (item.type === 'collapsable') { } @if (item.type === 'divider') { } @if (item.type === 'group') { } @if (item.type === 'spacer') { } } }
@if (activeAsideItemId) {
@for (item of navigation; track trackByFn($index, item)) { @if ((item.hidden && !item.hidden(item)) || !item.hidden) { @if (item.type === 'aside' && item.id === activeAsideItemId) { } } }
}