diff --git a/client/src/components/run/LaneConsolePane.tsx b/client/src/components/run/LaneConsolePane.tsx index 0e30a6d..523ca4e 100644 --- a/client/src/components/run/LaneConsolePane.tsx +++ b/client/src/components/run/LaneConsolePane.tsx @@ -296,9 +296,10 @@ export function LaneConsolePane({ data-testid="pane-lane-select" aria-label={tLanes("splitView.paneLaneLabel")} className="rounded border border-border bg-surface-1 px-2 py-1 text-xs text-fg-secondary" - value={laneId} - onChange={(e) => onLaneIdChange(Number(e.target.value))} + value={laneId ?? ""} + onChange={(e) => e.target.value && onLaneIdChange(Number(e.target.value))} > + {tLanes("splitView.pickLane")} {lanes.map((l) => ( {l.title || l.cwd} @@ -353,7 +354,7 @@ export function LaneConsolePane({ )} - {!handle ? ( + {!handle && laneId !== null ? ( + ) : !handle && laneId === null ? ( + {tLanes("splitView.pickLane")} ) : (
{tLanes("splitView.pickLane")}