@if (_item.children && _item.children.length > 0 && (secondary$ | async) === false) {
@for (item of _item?.children; track item) { }
} @if (!_item.children || _item.children.length === 0 || (secondary$ | async)) { @if (_item.routerLink) { } @if (!_item.routerLink) { } } @if (_item.icon) { @if (_iconType !== 'component') { } @if (_iconType === 'component') { } } {{ _item?.title }}