()
| 483 | for (const tree of data.worktrees) { |
| 484 | const tr = el('tr'); |
| 485 | const branchTd = el('td'); |
| 486 | branchTd.appendChild(badge(tree.branch || 'detached', 'fleet')); |
| 487 | tr.appendChild(branchTd); |
| 488 | tr.appendChild(el('td', 'mono dimmed', tree.path)); |
| 489 | table.appendChild(tr); |
| 490 | } |
| 491 | trees.appendChild(table); |