- Reuse existing worktree
- {options.length === 0 ? (
+ Existing worktrees
+ {isEmpty ? (
- No worktrees in this project yet.
+ {loading
+ ? "Discovering worktrees…"
+ : "No existing worktrees found."}
) : (
- options.map((option) => (
-
- ))
+ <>
+ {groups.map(([hostName, groupOptions]) => (
+
+ {showMachineHeaders && hostName !== null ? (
+
+ {hostName}
+
+ ) : null}
+ {groupOptions.map((option) => (
+
+ ))}
+
+ ))}
+ {failures.map((failure) => (
+
+ ))}
+ >
)}