@if (!item.isAction && isExpandable(item)) {
}
@if (item.isAction || !isExpandable(item)) {
}
@if (item.createActions?.length) {
@for (a of item.createActions; track a) {
}
}
@if (isExpanded(item.id) && hasChildren(item)) {
@for (child of item.children; track child) {
}
}