fix(run): scope resume session picker to the typed cwd when no lane is selected
Without a lane, the picker had no cwd filter and listed every session across every repo. Fall back to the free-typed cwd field so resume suggestions stay scoped to the working directory in view.
This commit is contained in:
@@ -163,7 +163,9 @@ export function RunSetup(props: RunSetupProps) {
|
||||
// props.resumeSession here would resume nothing.
|
||||
if (s && !props.busy) handleStart(props, s);
|
||||
}}
|
||||
cwd={props.laneCwd}
|
||||
// Fall back to the typed cwd when no lane is selected — otherwise
|
||||
// an unfiltered picker lists every session from every repo.
|
||||
cwd={props.laneCwd || props.cwd.trim() || undefined}
|
||||
/>
|
||||
</div>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user