@if (favorites$ | async; as favorites) { @if (favorites.length) {
{{ 'DOCS.TREE.FAVORITES' | translate }}
@for (favorite of favorites; track favorite) { {{ favorite.title }} }
} } @if (recents.length) {
{{ 'DOCS.TREE.RECENTS' | translate }}
@for (recent of recents; track recent) { {{ recent.name }} }
} @if (spaces.length) {
{{ 'DOCS.TREE.SPACES' | translate }}
@for (space of spaces; track spaceKey(space)) { }
}
@if (!nodes.length) {
{{ 'DOCS.TREE.EMPTY' | translate }} @if (canCreate) {
}
} @if (node.data.icon) { {{ node.data.icon }} } @else { } {{ node.data.name }} @if (node.data.isLocked) { } @if (node.data.visibility === 'PRIVATE') { } @if (menuItemsFor(node.data).length) { }