add
    @for (sc of db.smartCollections(); track sc.id) {
  • auto_awesome {{ sc.title }}
  • } @empty {
  • No smart collections
  • }
add
    @if (isCreating && pendingParentId === 0) {
  • chevron_right
  • }
@for (node of nodes; track node.collection.id) {
  • chevron_right @if (editingId === node.collection.id) { } @else { {{ node.collection.title }} } @if ((node.children.length && isExpanded(node.collection.id)) || (isCreating && pendingParentId === node.collection.id)) {
      @if (isCreating && pendingParentId === node.collection.id) {
    • chevron_right
    • }
    }
  • }
    @if (contextMenu) { } @if (smartContextMenu) { } @if (showRuleBuilder) { }