@if (!item().hidden) { @for (items of item().children; track items) { @if (items.type === 'collapse') { } @else if (items.type === 'item') { } } }